Skip to main content
SnapCenter 4.7 cmdlets

Get-SmAssignedUsers

Contributors

Gets the users assigned to a specified role.

Syntax

Get-SmAssignedUsers [-RoleName]  <String>

Detailed Description

Gets the users assigned to a specified role.

Parameters

Name Description Required? Pipeline Input Default Value

RoleName

Specifies the role name.

true

true (ByPropertyName)

Examples

Example 1: Gets users associated with a role

 Get-SmAssignedUsers -RoleName SnapCenterAdmin

This example syntax gets the users associated with a role.

Token   :
TokenHashed : {}
TokenTime   : 8/3/2015 5:30:59 PM
FullName: sddev\administrator
Author  :
Domain  : sddev
Description :
TokenNeverExpires   : False
IsAdmin : False
TenantAdmin :
IsNewUser   :
UserGroupObjectType : User
RoleName:
RoleId  : 0
Name: administrator
Type:
Id  : 1
Host:
UserName:
Passphrase  :
Deleted : False
Auth: SMCoreContracts.SmAuth
IsClone : False
CloneLevel  : 0
Token   :
TokenHashed : {}
TokenTime   : 8/3/2015 5:30:59 PM
FullName: sddev\snapdrive
Author  :
Domain  : sddev
Description :
TokenNeverExpires   : False
IsAdmin : False
TenantAdmin :
IsNewUser   :
UserGroupObjectType : User
RoleName:
RoleId  : 0
Name: snapdrive
Type:
Id  : 2
Host:
UserName:
Passphrase  :
Deleted : False
Auth: SMCoreContracts.SmAuth
IsClone : False
CloneLevel  : 0