UsrMgr\_GetSIDForLocalGroup
Description
Section titled “Description”Gets the SID of specified group
Syntax
Section titled “Syntax”UsrMgr_GetSIDForLocalGroup(sGroupName) As Boolean
Parameters
Section titled “Parameters”sGroupName (String)
Group name
Return value
Section titled “Return value”Result will be stored in gsValue
Example
Section titled “Example”VBScript
If bStatus Then bStatus = UsrMgr_GetSIDForLocalGroup("CapaInstaller")If bStatus Then bStatus = Job_WriteLog("Custom", "gsValue: " & gsValue, bStatus, True)Related functions
Section titled “Related functions”UsrMgr_CreateLocalUser UsrMgr_CreateLocalGroup