Users.FindLocalGroupMember
Method | |
---|---|
Module | Users |
Library | Core |
Action | List the local groups of which the specified user is an immediate member. |
Parameters |
|
Return values | For each local group that has the account as a member:
|
Example | Show which local groups "megacorp\herbert.west" is a member of: Users.FindLocalGroupMember(AccountName: "megacorp\\herbert.west"); |
Platforms |
|
Notes | "Immediate member" means that the user is defined explicitly and directly as a member of that group. If there is a group hierarchy involved (e.g. the user is a member of a domain group which is itself a member of a local group), then neither group will appear in the results. |