Name
Get-JS7IAMAccount
SYNOPSIS
Returns accounts from a JOC Cockpit Identity Service
SYNTAX
Get-JS7IAMAccount [-Service] <String> [[-Account] <String>] [-Enabled] [-Disabled] [<CommonParameters>]
DESCRIPTION
This cmdlet returns accounts from a JOC Cockpit Identity Service.
The following REST Web Service API resources are used:
* /iam/accounts
PARAMETERS
Service
-Service <String>
Specifies the unique name of the Identity Service.
Required? | true |
Position? | 1 |
Default value | |
Accept pipeline input? | true (ByPropertyName) |
Accept wildcard characters? | false |
Account
-Account <String>
Optionally limits the result to the specified user account.
Required? | false |
Position? | 2 |
Default value | |
Accept pipeline input? | true (ByPropertyName) |
Accept wildcard characters? | false |
Enabled
-Enabled <SwitchParameter>
Optionally returns enabled accounts only. By default enabled and disabled accounts are returned.
Required? | false |
Position? | named |
Default value | False |
Accept pipeline input? | true (ByPropertyName) |
Accept wildcard characters? | false |
Disabled
-Disabled <SwitchParameter>
Optionally returns disabled accounts only. By default enabled and disabled accounts only are returned.
Required? | false |
Position? | named |
Default value | False |
Accept pipeline input? | true (ByPropertyName) |
Accept wildcard characters? | false |
RELATED LINKS
EXAMPLES
-------------------------- EXAMPLE 1 --------------------------
PS > $accounts = Get-JS7IAMAccount -Service 'JOC'
Returns the accounts from the indicated JOC Cockpit Identity Service.
-------------------------- EXAMPLE 2 --------------------------
PS > $account = Get-JS7IAMAccount -Service 'JOC' -Account 'matt'
Returns the given account from the indicated JOC Cockpit Identity Service.