Get-PSUIdentity
SYNOPSIS
Returns identities defined within PSU.
SYNTAX
All (Default)
Get-PSUIdentity [-ComputerName <String>] [-AppToken <String>] [-Credential <PSCredential>]
[-UseDefaultCredentials] [-Integrated] [-TrustCertificate] [-Cookies]
[<CommonParameters>]Id
Get-PSUIdentity [-Id] <Int64> [-ComputerName <String>] [-AppToken <String>] [-Credential <PSCredential>]
[-UseDefaultCredentials] [-Integrated] [-TrustCertificate] [-Cookies]
[<CommonParameters>]Name
Get-PSUIdentity [-Name] <String> [-ComputerName <String>] [-AppToken <String>] [-Credential <PSCredential>]
[-UseDefaultCredentials] [-Integrated] [-TrustCertificate] [-Cookies]
[<CommonParameters>]DESCRIPTION
Returns identities defined within PSU. Identities are apps or users accessing PSU.
EXAMPLES
Example 1
Returns all the identities defined within PSU.
Example 2
Returns the identity with the name 'Adam'.
PARAMETERS
-AppToken
An app token to access the PSU API.
-ComputerName
The HTTP address of the PSU REST API server.
-Id
The Id of the identity to return.
-Integrated
Executes the command internally rather than using the Management API. Only works when running script from within PowerShell Universal.
-Name
The Name of the identity to return.
-UseDefaultCredentials
Use default credentials when connecting to the management API
-Credential
Credentials to login to the PowerShell Universal Management API.
-TrustCertificate
Whether the cmdlet should ignore certificate issues.
-Cookies
Reuses and persists authentication cookies for the current PowerShell session.
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -Verbose, -WarningAction, -WarningVariable, and -ProgressAction. For more information, see about_CommonParameters.
INPUTS
None
OUTPUTS
System.Object
NOTES
RELATED LINKS
PERMISSIONS
The access token requires security.identities/read to run this cmdlet remotely.
Last updated
Was this helpful?