AuthenticablePrincipal.LastLogon Propriedade
Definição
public:
property Nullable<DateTime> LastLogon { Nullable<DateTime> get(); };
public DateTime? LastLogon { get; }
member this.LastLogon : Nullable<DateTime>
Public ReadOnly Property LastLogon As Nullable(Of DateTime)
Valor da propriedade
Um DateTime que permite valor nulo que especifica a data e hora do último logon dessa conta.A Nullable DateTime that specifies the date and time of the last logon for this account.
Exceções
O repositório subjacente não dá suporte a essa propriedade.The underlying store does not support this property.
Comentários
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.