AuthenticablePrincipal.LastLogon プロパティ

定義

このアカウントでログオンが行われた最後の日付と時刻を指定する、null 許容の DateTime を取得します。

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)

プロパティ値

このアカウントでログオンが行われた最後の日付と時刻を指定する、null 許容の DateTime

例外

基盤となるになるストアは、このプロパティをサポートしていません。

注釈

のすべての DateTime プロパティと同様に System.DirectoryServices.AccountManagement、返される時刻は UTC 形式です。 ローカル時刻に変換するには、戻り値オブジェクトの ToLocalTime メソッドを呼び出します。

適用対象