Platforms to show: All Mac Windows Linux Cross-Platform

Back to DarwinGroupListMBS class.

DarwinGroupListMBS.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 l as new DarwinGroupListMBS
MsgBox str(l.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.

DarwinGroupListMBS.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 l as new DarwinGroupListMBS
MsgBox "CurrentGroupID: "+str(l.CurrentGroupID)

The real group ID is specified at login time.

DarwinGroupListMBS.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 l as new DarwinGroupListMBS
MsgBox "CurrentUserID: "+str(l.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.

DarwinGroupListMBS.Group(index as Integer) as DarwinGroupMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Process MBS MacCF Plugin 3.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Returns the Group with the given index.
Example
dim l as new DarwinGroupListMBS
dim c as Integer = l.Count-1
dim names(-1) as string
for i as Integer = 0 to c
dim g as DarwinGroupMBS = l.Group(i)
names.Append g.Name
next
MsgBox Join(names,EndOfLine)

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


The biggest plugin in space...