Platforms to show: All Mac Windows Linux Cross-Platform

Back to DarwinGroupMBS class.

DarwinGroupMBS.CurrentEffectiveUserID as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Process MBS MacCF Plugin 8.0 ✅ Yes ❌ No ❌ No ✅ Yes All
The effective user ID of the calling process.
Example
dim g as new DarwinGroupMBS
MsgBox "CurrentEffectiveUserID: "+str(G.CurrentEffectiveUserID)

The real user ID is that of the user who has invoked the program. As the effective user ID gives the process additional permissions during execution of 'set-user-ID' mode processes, getuid() is used to determine the real-user-id of the calling process.

DarwinGroupMBS.CurrentGroupID as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Process MBS MacCF Plugin 8.0 ✅ Yes ❌ No ❌ No ✅ Yes All
The real group ID of the calling process.
Example
dim g as new DarwinGroupMBS
MsgBox "CurrentGroupID: "+str(G.CurrentGroupID)

The real group ID is specified at login time.

DarwinGroupMBS.CurrentUserID as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Process MBS MacCF Plugin 8.0 ✅ Yes ❌ No ❌ No ✅ Yes All
The real user ID of the calling process.
Example
dim g as new DarwinGroupMBS
MsgBox "CurrentUserID: "+str(G.CurrentUserID)

The real user ID is that of the user who has invoked the program. As the effective user ID gives the process additional permissions during execution of 'set-user-ID' mode processes, getuid() is used to determine the real-user-id of the calling process.

DarwinGroupMBS.LoadGroupByID(Groupid as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Process MBS MacCF Plugin 3.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Fills the properties of this class with the values for the Group with the given ID.
Example
dim g as new DarwinGroupMBS
g.LoadGroupByID g.CurrentGroupID
MsgBox g.Name

DarwinGroupMBS.LoadGroupByName(name as string)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Process MBS MacCF Plugin 3.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Fills the properties of this class with the values for the given Group.
Example
dim g as new DarwinGroupMBS
g.LoadGroupByName "staff"
MsgBox g.Name

DarwinGroupMBS.UserName(index as Integer) as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Process MBS MacCF Plugin 3.2 ✅ Yes ❌ No ❌ No ✅ Yes All
The Group ID of this Group.
Example
dim g as new DarwinGroupMBS
g.LoadGroupByID g.CurrentGroupID

dim c as Integer = g.UserCount-1
for i as Integer = 0 to c
MsgBox g.UserName(i)
next

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


The biggest plugin in space...