UsrMgr_GetLocalGroupNameBySid
Description
Gets the group name of specified sid
Â
Syntax
UsrMgr_GetLocalGroupNameBySid(sSid)Â As Boolean
Â
Parameters
sSid(String)
Sid
Return value
Result will be stored in gsValue
Â
Example
VBScript
If bStatus Then bStatus = UsrMgr_GetLocalGroupNameBySid("S-1-5-32-544") If bStatus Then bStatus = Job_WriteLog("Custom", "gsValue: " & gsValue, bStatus, True)
Â