User
Lock-IAMUser
Synopsis
Lock a user's account.
Syntax
Lock-IAMUser [-UIIdentityID] <String> [[-EdgeRCFile] <String>] [[-Section] <String>] [[-AccountSwitchKey] <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Description
Locks a specified user's account, preventing them from accessing Control Center. The result shows as a read-only isLocked: true
attribute in the user data.
To allow the user to access Control Center, run the Unlock-IAMUser
operation. This sets the isLocked
attribute to false
.
Parameters
‑AccountSwitchKey |
An account credential key that lets you move between accounts when using an API client enabled for multiple accounts. To find account switch keys, use Get-AccountSwitchKey. |
‑EdgeRCFile |
Your EdgeGrid resource file to authenticate your command. Defaults to |
‑Section |
The section name in your EdgeGrid resource file to retrieve authentication credentials from. Defaults to |
‑UIIdentityID Required |
A given user's ID. To get this value, run |
Related Links
Updated 8 days ago