Skip to main content
SnapCenter 5.0 cmdlets

Get-SmAssignedGroups

Contributors

Gets a list off all groups assigned to a role.

Syntax

Get-SmAssignedGroups [-RoleName]  <String>

Detailed Description

Gets a list off all groups assigned to a user.

Parameters

Name Description Required? Pipeline Input Default Value

RoleName

Specifies the name of the role for which you want to find the assigned groups.

true

true (ByPropertyName)

Examples

Example 1: Getting groups assigned to a particular role

 Get-SmAssignedGroups -RoleName SnapcenterAdmin

The example syntax gets the groups assigned to the SnapCenterAdmin role.

Token   :
TokenHashed : {}
TokenTime   : 8/3/2015 5:07:50 PM
FullName:
Author  :
Domain  : sddev
Description :
TokenNeverExpires   : False
IsAdmin : False
TenantAdmin :
IsNewUser   :
UserGroupObjectType : Group
RoleName:
RoleId  : 0
Name: administrators
Type:
Id  : 3
Host:
UserName:
Passphrase  :
Deleted : False
Auth: SMCoreContracts.SmAuth
IsClone : False
CloneLevel  : 0