UsrMgr\_EnumMembersOfLocalGroup
Description
Section titled “Description”Enumerates members of local group. This function only supports direct membership
Syntax
Section titled “Syntax”UsrMgr_EnumMembersOfLocalGroup(sGroupName) As Boolean
Parameters
Section titled “Parameters”sGroupName(String)
Group name
Return value
Section titled “Return value”Result will be stored in gaValue
Example
Section titled “Example”VBScript
If bStatus Then bStatus = UsrMgr_EnumMembersOfLocalGroup("CapaInstaller")If bStatus And IsArray(gaValue) Then For index = LBound(gaValue) to UBound(gaValue) bStatus = Job_WriteLog("Custom", "Index #" & index & ": " & cStr(gaValue(index)), bStatus, True) NextEnd IfRelated functions
Section titled “Related functions”UsrMgr_CreateLocalUser UsrMgr_CreateLocalGroup