Get-WssMsoSharePointPrincipal

Get-WssMsoSharePointPrincipal

Gets all principal objects, including users and groups.

構文

Parameter Set: Default
Get-WssMsoSharePointPrincipal [[-UserName] <String> ] [ <CommonParameters>]

詳細説明

The Get-WssMsoSharePointPrincipal cmdlet gets all principal objects, including users and groups.

パラメーター

-UserName<String>

Specifies a name for a user account. The cmdlet gets all principal objects for the user name that you specify.

エイリアス

なし

必須?

false

位置は?

1

既定値

なし

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

True (ByPropertyName)

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

false

<CommonParameters>

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

入力

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

出力

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

  • SharepointPrincipal[]

Example 1: Get principal objects

This command gets the principal objects.

PS C:\> $Principals = Get-WssMsoSharePointPrincipal
PS C:\>