语言

WebSecurity.CurrentUserName 属性

定义

获取当前用户的用户名。

public static string CurrentUserName { get; }
member this.CurrentUserName : string
Public Shared ReadOnly Property CurrentUserName As String

属性值

当前用户的名称。

适用于