Skip to main content
SnapCenter 6.0 cmdlets

Get-SmRoleAssignedPermission

Contributors

Retrieves information about permissions assigned to a designated role.

Syntax

Get-SmRoleAssignedPermission [-RoleName]  <String>

Detailed Description

Retrieves information about permissions assigned to a specified role. The information includes the permission name and its attributes. The attributes are Allow, Create, Read, Update, and Delete.

Parameters

Name Description Required? Pipeline Input Default Value

RoleName

Specifies the name of the role for which you want permission and permission attribute information.

true

true (ByPropertyName)

Examples

Example 1: Getting permissions assigned to a role

 Get-SmRoleAssignedPermission -RoleName SnapCenterAdmin

This example syntax gets the permissions assigned to the specified role.

AttribCode : create
Name   : DataSet
Type   :
Id : 1
Host   :
UserName   :
Passphrase :
Deleted: False
Auth   : SMCoreContracts.SmAuth
IsClone: False
CloneLevel : 0
AttribCode : delete
Name   : DataSet
Type   :
Id : 2
Host   :
UserName   :
Passphrase :
Deleted: False
Auth   : SMCoreContracts.SmAuth
IsClone: False
CloneLevel : 0
AttribCode : read
Name   : DataSet
Type   :
Id : 3
Host   :
UserName   :
Passphrase :
Deleted: False
Auth   : SMCoreContracts.SmAuth
IsClone: False
CloneLevel : 0
AttribCode : update
Name   : DataSet
Type   :
Id : 4
Host   :
UserName   :
Passphrase :
Deleted: False
Auth   : SMCoreContracts.SmAuth
IsClone: False
CloneLevel : 0
AttribCode : create
Name   : Policy
Type   :
Id : 5
Host   :
UserName   :
Passphrase :
Deleted: False
Auth   : SMCoreContracts.SmAuth
IsClone: False
CloneLevel : 0
AttribCode : delete
Name   : Policy
Type   :
Id : 6
Host   :
UserName   :
Passphrase :
Deleted: False
Auth   : SMCoreContracts.SmAuth
IsClone: False
CloneLevel : 0
AttribCode : update
Name   : Policy
Type   :
Id : 7
Host   :
UserName   :
Passphrase :
Deleted: False
Auth   : SMCoreContracts.SmAuth
IsClone: False
CloneLevel : 0
AttribCode : read
Name   : Policy
Type   :
Id : 8
Host   :
UserName   :
Passphrase :
Deleted: False
Auth   : SMCoreContracts.SmAuth
IsClone: False
CloneLevel : 0
AttribCode : create
Name   : Backup
Type   :
Id : 9
Host   :
UserName   :
Passphrase :
Deleted: False
Auth   : SMCoreContracts.SmAuth
IsClone: False
CloneLevel : 0
AttribCode : read
Name   : Backup
Type   :
Id : 10
Host   :
UserName   :
Passphrase :
Deleted: False
Auth   : SMCoreContracts.SmAuth
IsClone: False
CloneLevel : 0
AttribCode : delete
Name   : Backup
Type   :
Id : 11
Host   :
UserName   :
Passphrase :
Deleted: False
Auth   : SMCoreContracts.SmAuth
IsClone: False
CloneLevel : 0
AttribCode : create
Name   : Host
Type   :
Id : 13
Host   :
UserName   :
Passphrase :
Deleted: False
Auth   : SMCoreContracts.SmAuth
IsClone: False
CloneLevel : 0
AttribCode : delete
Name   : Host
Type   :
Id : 14
Host   :
UserName   :
Passphrase :
Deleted: False
Auth   : SMCoreContracts.SmAuth
IsClone: False
CloneLevel : 0
AttribCode : read
Name   : Host
Type   :
Id : 15
Host   :
UserName   :
Passphrase :
Deleted: False
Auth   : SMCoreContracts.SmAuth
IsClone: False
CloneLevel : 0
AttribCode : update
Name   : Host
Type   :
Id : 16
Host   :
UserName   :
Passphrase :
Deleted: False
Auth   : SMCoreContracts.SmAuth
IsClone: False
CloneLevel : 0
AttribCode : create
Name   : StorageConnection
Type   :
Id : 17
Host   :
UserName   :
Passphrase :
Deleted: False
Auth   : SMCoreContracts.SmAuth
IsClone: False
CloneLevel : 0
AttribCode : delete
Name   : StorageConnection
Type   :
Id : 18
Host   :
UserName   :
Passphrase :
Deleted: False
Auth   : SMCoreContracts.SmAuth
IsClone: False
CloneLevel : 0
AttribCode : read
Name   : StorageConnection
Type   :
Id : 19
Host   :
UserName   :
Passphrase :
Deleted: False
Auth   : SMCoreContracts.SmAuth
IsClone: False
CloneLevel : 0
AttribCode : update
Name   : StorageConnection
Type   :
Id : 20
Host   :
UserName   :
Passphrase :
Deleted: False
Auth   : SMCoreContracts.SmAuth
IsClone: False
CloneLevel : 0
AttribCode : create
Name   : Clone
Type   :
Id : 21
Host   :
UserName   :
Passphrase :
Deleted: False
Auth   : SMCoreContracts.SmAuth
IsClone: False
CloneLevel : 0
AttribCode : delete
Name   : Clone
Type   :
Id : 22
Host   :
UserName   :
Passphrase :
Deleted: False
Auth   : SMCoreContracts.SmAuth
IsClone: False
CloneLevel : 0
AttribCode : read
Name   : Clone
Type   :
Id : 23
Host   :
UserName   :
Passphrase :
Deleted: False
Auth   : SMCoreContracts.SmAuth
IsClone: False
CloneLevel : 0
AttribCode : update
Name   : Clone
Type   :
Id : 24
Host   :
UserName   :
Passphrase :
Deleted: False
Auth   : SMCoreContracts.SmAuth
IsClone: False
CloneLevel : 0
AttribCode : create
Name   : Provision
Type   :
Id : 25
Host   :
UserName   :
Passphrase :
Deleted: False
Auth   : SMCoreContracts.SmAuth
IsClone: False
CloneLevel : 0
AttribCode : delete
Name   : Provision
Type   :
Id : 26
Host   :
UserName   :
Passphrase :
Deleted: False
Auth   : SMCoreContracts.SmAuth
IsClone: False
CloneLevel : 0
AttribCode : read
Name   : Provision
Type   :
Id : 27
Host   :
UserName   :
Passphrase :
Deleted: False
Auth   : SMCoreContracts.SmAuth
IsClone: False
CloneLevel : 0
AttribCode : update
Name   : Provision
Type   :
Id : 28
Host   :
UserName   :
Passphrase :
Deleted: False
Auth   : SMCoreContracts.SmAuth
IsClone: False
CloneLevel : 0
AttribCode : update
Name   : Backup
Type   :
Id : 45
Host   :
UserName   :
Passphrase :
Deleted: False
Auth   : SMCoreContracts.SmAuth
IsClone: False
CloneLevel : 0
AttribCode : allow
Name   : DashBoard
Type   :
Id : 51
Host   :
UserName   :
Passphrase :
Deleted: False
Auth   : SMCoreContracts.SmAuth
IsClone: False
CloneLevel : 0
AttribCode : allow
Name   : Reports
Type   :
Id : 52
Host   :
UserName   :
Passphrase :
Deleted: False
Auth   : SMCoreContracts.SmAuth
IsClone: False
CloneLevel : 0
AttribCode : allow
Name   : Restore
Type   :
Id : 53
Host   :
UserName   :
Passphrase :
Deleted: False
Auth   : SMCoreContracts.SmAuth
IsClone: False
CloneLevel : 0
AttribCode : allow
Name   : Discovery
Type   :
Id : 54
Host   :
UserName   :
Passphrase :
Deleted: False
Auth   : SMCoreContracts.SmAuth
IsClone: False
CloneLevel : 0
AttribCode : allow
Name   : Plugin_Installation
Type   :
Id : 58
Host   :
UserName   :
Passphrase :
Deleted: False
Auth   : SMCoreContracts.SmAuth
IsClone: False
CloneLevel : 0
AttribCode : allow
Name   : Migration
Type   :
Id : 59
Host   :
UserName   :
Passphrase :
Deleted: False
Auth   : SMCoreContracts.SmAuth
IsClone: False
CloneLevel : 0