Platforms to show: All Mac Windows Linux Cross-Platform

Back to DarwinUserMBS class.

DarwinUserMBS.AccountExpireTime as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Process MBS MacCF Plugin 3.1 ✅ Yes ❌ No ❌ No ✅ Yes All
The time when the account will expire.

(Read only property)

DarwinUserMBS.GroupID as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Process MBS MacCF Plugin 3.1 ✅ Yes ❌ No ❌ No ✅ Yes All
The group ID of the user.
Example
Var l as new DarwinUserMBS
l.LoadUserByID l.CurrentUserID
MessageBox str(l.GroupID)

(Read only property)

DarwinUserMBS.HomePath as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Process MBS MacCF Plugin 3.1 ✅ Yes ❌ No ❌ No ✅ Yes All
The home path of the user.
Example
Var l as new DarwinUserMBS

l.LoadUserByName "cs"

MessageBox l.HomePath

(Read only property)

Some examples using this property:

DarwinUserMBS.LastPasswordChangeTime as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Process MBS MacCF Plugin 3.1 ✅ Yes ❌ No ❌ No ✅ Yes All
The last time when the user changed the password.

(Read only property)

DarwinUserMBS.LongName as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Process MBS MacCF Plugin 3.1 ✅ Yes ❌ No ❌ No ✅ Yes All
The long name of the user.
Example
Var l as new DarwinUserMBS

l.LoadUserByName "cs"

MessageBox l.LongName

(Read only property)

DarwinUserMBS.Name as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Process MBS MacCF Plugin 3.1 ✅ Yes ❌ No ❌ No ✅ Yes All
The short name of the user.
Example
Var l as new DarwinUserListMBS

Var c as Integer = l.Count-1
for i as Integer = 0 to c
Var u as DarwinUserMBS = l.User(i)
if u.UserID = l.CurrentUserID then
MessageBox "our user name: "+u.Name
end if
next

(Read only property)

DarwinUserMBS.Ready as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Process MBS MacCF Plugin 3.1 ✅ Yes ❌ No ❌ No ✅ Yes All
whether the values in this class were filled correctly.

(Read only property)

DarwinUserMBS.Shell as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Process MBS MacCF Plugin 3.1 ✅ Yes ❌ No ❌ No ✅ Yes All
The path to the default shell for this user.
Example
Var l as new DarwinUserMBS

l.LoadUserByID l.CurrentUserID

MessageBox l.Shell

(Read only property)

DarwinUserMBS.UserID as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Process MBS MacCF Plugin 3.1 ✅ Yes ❌ No ❌ No ✅ Yes All
The user ID of this user.
Example
Var l as new DarwinUserMBS

l.LoadUserByID l.CurrentUserID

MessageBox str(l.UserID)

(Read only property)

The items on this page are in the following plugins: MBS MacCF Plugin.


The biggest plugin in space...