Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.
Specifies a name for a user account. The cmdlet gets all principal objects for the user name that you specify.
Aliases |
none |
Required? |
false |
Position? |
1 |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
The input type is the type of the objects that you can pipe to the cmdlet.
The output type is the type of the objects that the cmdlet emits.
- SharepointPrincipal[]
This command gets the principal objects.
PS C:\> $Principals = Get-WssMsoSharePointPrincipal
PS C:\>