< Back
Get-OktaUserAdminRole
Post
NAME Get-OktaUserAdminRole
SYNOPSIS
Returns the administrative roles assigned to an Okta user.
SYNTAX
Get-OktaUserAdminRole -User <User> [<CommonParameters>]
DESCRIPTION
Returns the administrative roles assigned to an Okta user.
PARAMETERS
-User <User>
The Okta user to retrieve administrative roles for.
Required? true
Position? named
Default value None
Accept pipeline input? True (ByValue)
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
Okta.Sdk.User
OUTPUTS
Okta.Sdk.Role
NOTES
-------------------------- Example 1 --------------------------
PS C:\\> Get-OktaUser -Identity matt | Get-OktaUserAdminRole
Get the administrative roles assigned to the user "matt."
RELATED LINKS
SYNOPSIS
Returns the administrative roles assigned to an Okta user.
SYNTAX
Get-OktaUserAdminRole -User <User> [<CommonParameters>]
DESCRIPTION
Returns the administrative roles assigned to an Okta user.
PARAMETERS
-User <User>
The Okta user to retrieve administrative roles for.
Required? true
Position? named
Default value None
Accept pipeline input? True (ByValue)
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
Okta.Sdk.User
OUTPUTS
Okta.Sdk.Role
NOTES
-------------------------- Example 1 --------------------------
PS C:\\> Get-OktaUser -Identity matt | Get-OktaUserAdminRole
Get the administrative roles assigned to the user "matt."
RELATED LINKS