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 the account assigned to a network user account.
Parameter Set: Default
Get-O365AssignedUser [-LocalAccountName] <String> [ <CommonParameters>]
The Get-O365AssignedUser cmdlet gets the account that is assigned to a local network user account.
Specifies the name of a local Active Directory user account. The cmdlet gets the account assigned to the local user account that you specify.
Aliases |
none |
Required? |
true |
Position? |
2 |
Default Value |
none |
Accept Pipeline Input? |
True (ByValue) |
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.
System.String
LocalAccountName
Type: System.String
Description: local user name
The output type is the type of the objects that the cmdlet emits.
Microsoft.WindowsServerSolutions.O365Integration.O365User
This cmdlet returns a class that represents online account.
ObjectId Property System.Guid
UserPrincipalName Property System.String
Activated Property System.Boolean
LocalUserName Property System.String
Licenses Property System.Collections.ObjectModel.ReadOnlyCollection<O365UserLicense>
This command gets the account that is assigned to the local user account named PattiFuller.
PS C:\> Get-O365AssignedUser -LocalAccountName "PattiFuller"
PS C:\>