UsrMgr\_GetLocalGroupNameBySid
Description
Section titled “Description”Gets the group name of specified sid
Syntax
Section titled “Syntax”UsrMgr_GetLocalGroupNameBySid(sSid) As Boolean
Parameters
Section titled “Parameters”sSid(String)
Sid
Return value
Section titled “Return value”Result will be stored in gsValue
Example
Section titled “Example”VBScript
If bStatus Then bStatus = UsrMgr_GetLocalGroupNameBySid("S-1-5-32-544")If bStatus Then bStatus = Job_WriteLog("Custom", "gsValue: " & gsValue, bStatus, True)Related functions
Section titled “Related functions”UsrMgr_CreateLocalUser UsrMgr_CreateLocalGroup