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)

屬性值

可為 Null 的 DateTime,指定上次為這個帳戶設定密碼的日期和時間。

例外狀況

基礎存放區不支援這個屬性。

備註

如同 中的所有 DateTimeSystem.DirectoryServices.AccountManagement 屬性,傳回的時間是以 UTC 格式。 若要將它轉換成當地時間,請在傳回物件上呼叫 ToLocalTime 方法。

適用於