Skip to main content

1E SDK

Users.GetLocalGroupMembers

Method

GetLocalGroupMembers

Module

Users

Library

Core

Action

List the members of a local group.

Parameters

GroupName (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.