Method

GetLocalGroupMembers

ModuleUsers
LibraryCore
Action

List the members of a local group.

ParametersGroupName (string): The local group to enumerate.
Return values

For each member of the local group:

    • Account (string): Member name.
    • AccountType (string): one of the following:
      • User
      • Group
      • Built-in group
      • Delete
      • Unknown
Example

List the members of the local Administrators group:

 Users.GetLocalGroupMembers(GroupName: "Administrators");
Platforms
  • Windows
Notes

Group names are language specific. For example, English Administrators is not the same as Spanish Administradores.