Skip to main content
SnapCenter 4.7 cmdlets

Get-SmRolePermissions

Contributors

Retrieves permissions and associated permission attribute codes available in SnapCenter.

Syntax

Get-SmRolePermissions [-Name]  <String>

Detailed Description

Retrieves permissions and associated permission attribute codes available in SnapCenter. If you specify a permission name, you receive attribute codes associated with that permission. If you do not specify a name, you retrieve all permissions available in SnapCenter.

Parameters

Name Description Required? Pipeline Input Default Value

Name

Specifies the name of the Run As account that you want to get information about.

false

true (ByPropertyName)

Examples

Example 1: Getting information about a specified permission

 Get-SmRolePermissions -Name DataSet

This example syntax lists the information for the specified permission.

PermissionName PermissionCode
-------------- --------------
DataSet create
DataSet delete
DataSet read
DataSet update

Example 2: Getting a list of permissions available in SnapCenter

 Get-SmRolePermissions

This example syntax displays permissions for all permissions in SnapCenter.

PermissionName PermissionCode
-------------- --------------
DataSet create
DataSet delete
DataSet read
DataSet update
Policy create
Policy delete
Policy update
Policy read
Backup create
Backup read
Backup delete
Host create
Host delete
Host read
Host update
StorageConnection create
StorageConnection delete
StorageConnection read
StorageConnection update
Clone create
Clone delete
Clone read
Clone update
Provision create
Provision delete
Provision read
Provision update
Backup update
DashBoard allow
Reports allow
Restore allow
Discovery allow
Plugin_Installation allow
Migration allow