AuthenticablePrincipal.LastPasswordSet 属性

定义

获取一个可以为 null 的 DateTime,用于指定最后一次为此帐户设置密码的日期和时间。

public:
 property Nullable<DateTime> LastPasswordSet { Nullable<DateTime> get(); };
public DateTime? LastPasswordSet { get; }
member this.LastPasswordSet : Nullable<DateTime>
Public ReadOnly Property LastPasswordSet As Nullable(Of DateTime)

属性值

Nullable<DateTime>

一个可以为 null 的 DateTime,用于指定最后一次为此帐户设置密码的日期和时间。

例外

基础存储不支持此属性。

注解

与 中 DateTime 的所有属性一样 System.DirectoryServices.AccountManagement ,返回的时间以 UTC 格式显示。 若要将其转换为本地时间,请 ToLocalTime 对返回对象调用 方法。

适用于