Gets the members of the specified VMS role.
Get-VmsRoleMember [[-Role] <Role>] [<CommonParameters>]
Gets the members of the specified VMS role. Members can be local Windows users and groups, Active Directory users and groups, Milestone Basic Users, users from a customer-managed external identity provider.
Get-VmsRole -Name Operators | Get-VmsRoleMember
Gets all the members of the role named "Operators".
Get-VmsRoleMember -Role "Instructor"
Gets all the members of the role named "Instructor".
Gets all the members of all roles. Note that there is no way to know which role a role member was returned from as the "User" objects do not have a property on them to identify the role they were returned from. Users may be a member of multiple roles, so when you do not provide a role with this cmdlet, you may see duplicate user entries and this is to be expected.
Specifies the role object, or the name of the role.
Type: Role Parameter Sets: (All) Aliases: RoleName Required: False Position: 0 Default value: None Accept pipeline input: True (ByValue) Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.