WebSecurity.CurrentUserId 屬性

定義

取得目前使用者的 ID。

public static int CurrentUserId { get; }
member this.CurrentUserId : int
Public Shared ReadOnly Property CurrentUserId As Integer

屬性值

目前使用者的 ID。

適用於