Get-SCUserRolePermission

Gets a user role permission instance.

Syntax

Get-SCUserRolePermission
   [-VMMServer <ServerConnection>]
   [[-UserRole] <SelfServiceUserRole>]
   [-Cloud <Cloud>]
   [-OnBehalfOfUser <String>]
   [-OnBehalfOfUserRole <UserRole>]
   [<CommonParameters>]

Description

The Get-SCUserRolePermission cmdlet gets user role permission instances.

Optional Parameters

-Cloud

Specifies a private cloud object for which this cmdlet gets user role permission objects.

Type:Cloud
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-OnBehalfOfUser

Specifies a user name. This cmdlet operates on behalf of the user that this parameter specifies.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-OnBehalfOfUserRole

Specifies a user role. To obtain a user role, use the Get-SCUserRole cmdlet. This cmdlet operates on behalf of the user role that this parameter specifies.

Type:UserRole
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-UserRole

Specifies a user role for which this cmdlet gets permission objects.

Type:SelfServiceUserRole
Position:0
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
-VMMServer

Specifies a VMM server on which this cmdlet gets a user role.

Type:ServerConnection
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False

Outputs

UserRolePermission[]

This cmdlet returns an array of UserRolePermission objects.