Get-SCACUserRole

Get-SCACUserRole

Gets user roles on the server.

構文

Parameter Set: Default
Get-SCACUserRole [-Managed] [-Name <String> ] [ <CommonParameters>]

詳細説明

The Get-SCACUserRole cmdlet gets user roles on the server.

パラメーター

-Managed

Indicates that only managed user roles are returned.

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-Name<String>

Specifies the name of a user role.

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

<CommonParameters>

このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。

入力

入力型は、コマンドレットにパイプできるオブジェクトの型です。

  • System.Management.Automation.SwitchParameter, System.Management.Automation.SwitchParameter

出力

出力型は、コマンドレットによって生成されるオブジェクトの型です。

  • Microsoft.SystemCenter.CloudManager.PowerShell.ACUserRole

Example 1: Get all managed user roles

This command gets all managed user roles on the server, and displays information about each user role to the user.

PS C:\> Get-SCACUserRole -Managed

Example 2: Get a user role by name

This command gets the user role named “UserRole01”.

PS C:\> Get-SCACUserRole –Name “UserRole01”

関連トピック

New-SCACUserRole

Set-SCACUserRole