Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Method

GetLocalGroupMembers

ModuleUsers
LibraryCore
Action

Excerpt
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:

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

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