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
dim l as new DarwinUserMBS
l.LoadUserByID l.CurrentUserID
MsgBox 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
dim l as new DarwinUserMBS

l.LoadUserByName "cs"

MsgBox 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
dim l as new DarwinUserMBS

l.LoadUserByName "cs"

MsgBox 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
dim l as new DarwinUserListMBS

dim c as Integer = l.Count-1
for i as Integer = 0 to c
dim u as DarwinUserMBS = l.User(i)
if u.UserID = l.CurrentUserID then
MsgBox "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
dim l as new DarwinUserMBS

l.LoadUserByID l.CurrentUserID

MsgBox 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
dim l as new DarwinUserMBS

l.LoadUserByID l.CurrentUserID

MsgBox str(l.UserID)

(Read only property)

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


The biggest plugin in space...