Get-WssMsoAssignedUser
Gets the online service account for a user.
Syntax
Get-WssMsoAssignedUser
[[-WssUserName] <String>]
[<CommonParameters>]
Description
The Get-WssMsoAssignedUser cmdlet gets the online service account assigned to a local network user account from aad_1. If you do not specify a user, the cmdlet gets all online service accounts.
Examples
Example 1: Get a Microsoft account
PS C:\> Get-WssMsoAssignedUser -WssUserName "DavidChew"
This command gets the online service account for the user account named DavidChew.
1:
PS C:\>
Parameters
-WssUserName
Specifies the name of a user account. The cmdlet gets the online service account that corresponds to the user account that you specify.
Type: | String |
Position: | 0 |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Inputs
WssUserName Type: System.String Description: local network account name of user
Related Links
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for