|
| KiXtart Command Reference |
ENUMLOCALGROUPactionEnumerates the local groups of which the current user is a member. syntaxENUMLOCALGROUP (index, "source") parameterIndex A numeric value representing the group whose name you want to discover (where 0 is the first subkey). Source Optional string value representing the server or domain whose local groups you want to query. returns
example$Index = 0 DO $Group = ENUMLOCALGROUP($Index) UNTIL Len($Group) = 0 - Or - $Index = 0 DO $Group = ENUMLOCALGROUP($Index, "\\MyServer") UNTIL Len($Group) = 0 |