AuthenticablePrincipal.AccountLockoutTime Propriedade
Definição
public:
property Nullable<DateTime> AccountLockoutTime { Nullable<DateTime> get(); };
public DateTime? AccountLockoutTime { get; }
member this.AccountLockoutTime : Nullable<DateTime>
Public ReadOnly Property AccountLockoutTime As Nullable(Of DateTime)
Valor da propriedade
Um DateTime que especifica a data e hora em que a conta foi bloqueada ou null se não houver uma hora de bloqueio definida na conta.A DateTime that specifies the date and time that the account was locked out, or null if no lockout time is set on the account.
Exceções
O repositório subjacente não dá suporte a essa propriedade.The underlying store does not support this property.
Comentários
O tempo de bloqueio da conta é dependente do sistema e não pode ser definido pela API de gerenciamento de contas.The account lockout time is system dependent, and cannot be set by the Account Management API. Para desbloquear a conta, use o UnlockAccount método.To unlock the account, use the UnlockAccount method.
É possível que uma conta não possa ser bloqueada quando o AccountLockoutTime retornar um valor não nulo.It is possible that an account may not be locked out when the AccountLockoutTime returns a non-null value. Os aplicativos devem usar o IsAccountLockedOut método para determinar se a conta está bloqueada.Applications should use the IsAccountLockedOut method to determine whether the account is locked out.
Assim como acontece com todas as DateTime Propriedades no System.DirectoryServices.AccountManagement , o tempo retornado está no formato UTC.As with all DateTime properties in System.DirectoryServices.AccountManagement, the time returned is in UTC form. Para convertê-lo em hora local, chame o ToLocalTime método no objeto de retorno.To convert it to local time, call the ToLocalTime method on the return object.