|
|
Data ONTAP® PowerShell Toolkit
|
Cmdlet: Unlock-NcUser
NAME
Unlock-NcUser
SYNOPSIS
Unlock a user account that uses password as the authentication method.
SYNTAX
Unlock-NcUser [-UserName] <String> -Vserver <String[]> [-Controller <NcContr
oller[]>] [-WhatIf] [-Confirm] [<CommonParameters>]
DESCRIPTION
Unlock a user account that uses password as the authentication method. Retu
rns an error if the user account does not use password authentication.
PARAMETERS
-UserName <String>
Name of the user account to be unlocked.
Required? true
Position? 1
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Vserver <String[]>
Vserver that owns the user account.
Required? true
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Controller <NcController[]>
A Data ONTAP cluster-mode controller to receive this cmdlet, as embodied
by an NcController object. This parameter is returned by the Connect-N
cController cmdlet. If not specified, the value in the global variable
CurrentNcController is used. In the latter case, if CurrentNcController
contains a collection of NcController objects, this cmdlet is invoked o
n each controller in succession.
Required? false
Position? named
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-WhatIf
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Confirm
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer and OutVariable. For more information, type,
"get-help about_commonparameters".
INPUTS
OUTPUTS
NetApp.Ontapi.Filer.C.Security810.SecurityLoginAccountInfo
NOTES
Category: security
API: security-login-unlock
Family: cluster
-------------- Example 1 --------------
C:\PS>Unlock-NcUser rcuuser -Vserver dlamotta02
Unlock user 'rcuuser' on vserver 'dlamotta02'.
UserName Application AuthMethod RoleName IsLocked Vserver
-------- ----------- ---------- -------- -------- -------
rcuuser http password rcu False dlamotta02
rcuuser ontapi password rcu False dlamotta02
rcuuser ssh password rcu False dlamotta02
RELATED LINKS
Get-NcUser
Lock-NcUser
| Copyright © 2012 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|