Name
Enable-JS7IAMAccount
SYNOPSIS
Enables one or more accounts in a JOC Cockpit Identity Service
SYNTAX
Enable-JS7IAMAccount [-Service] <String> [-Account] <String[]> [[-AuditComment] <String>] [[-AuditTimeSpent] <Int32>] [[-AuditTicketLink] <Uri>] [-WhatIf] [-Confirm] [<CommonParameters>]
DESCRIPTION
This cmdlet enables one or more accounts in a JOC Cockpit Identity Service.
The following REST Web Service API resources are used:
* /iam/accounts/enable
PARAMETERS
Service
-Service <String>
Specifies the unique name of the Identity Service that accounts are managed with.
Required? | true |
Position? | 1 |
Default value | |
Accept pipeline input? | true (ByPropertyName) |
Accept wildcard characters? | false |
Account
-Account <String[]>
Specifies the unique name of an account that should be enabled.
More than one account can be specified by use of a comma.
Required? | true |
Position? | 2 |
Default value | |
Accept pipeline input? | true (ByPropertyName) |
Accept wildcard characters? | false |
AuditComment
-AuditComment <String>
Required? | false |
Position? | 3 |
Default value | |
Accept pipeline input? | true (ByPropertyName) |
Accept wildcard characters? | false |
AuditTimeSpent
-AuditTimeSpent <Int32>
Required? | false |
Position? | 4 |
Default value | 0 |
Accept pipeline input? | true (ByPropertyName) |
Accept wildcard characters? | false |
AuditTicketLink
-AuditTicketLink <Uri>
Required? | false |
Position? | 5 |
Default value | |
Accept pipeline input? | true (ByPropertyName) |
Accept wildcard characters? | false |
WhatIf
-WhatIf <SwitchParameter>
Required? | false |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | false |
Confirm
-Confirm <SwitchParameter>
Required? | false |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | false |
RELATED LINKS
EXAMPLES
-------------------------- EXAMPLE 1 --------------------------
PS > Enable-JS7IAMAccount -Service 'JOC' -Account 'user1'
Enables the account.
-------------------------- EXAMPLE 2 --------------------------
PS > Enable-JS7IAMAccount -Service 'JOC' -Account 'user1','user2'
Enables both indicated accounts.