Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Name

Rename-JS7IAMAccount

SYNOPSIS

Renames an account in a JOC Cockpit Identity Service

SYNTAX

Rename-JS7IAMAccount [-Service] <String> [-Account] <String> [-NewAccount] <String> [[-AuditComment] <String>] [[-AuditTimeSpent] <Int32>] [[-AuditTicketLink] <Uri>] [-WhatIf] [-Confirm] [<CommonParameters>]

DESCRIPTION

This cmdlet renames an account in a JOC Cockpit Identity Service.

The following REST Web Service API resources are used:

* /iam/account/rename

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 existing name of the account.

Required?true
Position?2
Default value
Accept pipeline input?true (ByPropertyName)
Accept wildcard characters?false

NewAccount

-NewAccount <String>
Specifies the account's new name.

Required?true
Position?3
Default value
Accept pipeline input?true (ByPropertyName)
Accept wildcard characters?false

AuditComment

-AuditComment <String>

Required?false
Position?4
Default value
Accept pipeline input?true (ByPropertyName)
Accept wildcard characters?false

AuditTimeSpent

-AuditTimeSpent <Int32>

Required?false
Position?5
Default value0
Accept pipeline input?true (ByPropertyName)
Accept wildcard characters?false

-AuditTicketLink <Uri>

Required?false
Position?6
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

about_JS7

EXAMPLES

-------------------------- EXAMPLE 1 --------------------------

PS > Rename-JS7IAMAccount -Service 'JOC' -Account 'user1' -NewAccount 'user2'

Renames the account.