Returns the operating system ID of a specific user group. |
Synopsis
string getOSGroupID(string name[, string domain]); |
Parameters
Parameters |
Description |
name |
Name of the user group. |
domain |
Domain (optional). If the domain will not be specified, it will be tried to detect the domain of the currently logged in user. |
Return value
The operating system ID of a specific user group. |
Description
Returns the operating system ID of a specific user group. |
Example |
The following example returns the OS-ID for the user group "operator" from the domain "ET101". |
main()
{ DebugN(getOSGroupID("operator", "ET101")); //Return value: "S-1-5-21-1934636824-790261252-315576832-2029" } |
Member of
Availability
UI |
See also
getOSGroupInfo(), getOSGroupName(), getOSGroups(), getOSGroupUsers(), getOSUserGroups(), getOSUserID(), getOSUserInfo(), getOSUserName() |
V 3.11 SP1
Copyright