UsrMgr_EnumMembersOfLocalGroup
Description
Enumerates members of local group. This function only supports direct membership
Â
Syntax
UsrMgr_EnumMembersOfLocalGroup(sGroupName)Â As Boolean
Â
Parameters
sGroupName(String)
Group name
Â
Return value
Result will be stored in gaValue
Â
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) Next End If
Â