Get-SCUserRolePermission

Gets a user role permission instance.

Syntax

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

Description

The Get-SCUserRolePermission cmdlet gets user role permission instances.

Parameters

-Cloud

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

Type:Cloud
Required:False
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
Required:False
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
Required:False
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
Required:False
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
Required:False
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False

Outputs

UserRolePermission[]

This cmdlet returns an array of **UserRolePermission** objects.