IAuthenticationManager.User 屬性
取得或設定 ClaimsPrincipal 使用者。
命名空間: Microsoft.Owin.Security
組件: Microsoft.Owin (在 Microsoft.Owin.dll 中)
語法
'宣告
Property User As ClaimsPrincipal
Get
Set
'用途
Dim instance As IAuthenticationManager
Dim value As ClaimsPrincipal
value = instance.User
instance.User = value
ClaimsPrincipal User { get; set; }
property ClaimsPrincipal^ User {
ClaimsPrincipal^ get ();
void set (ClaimsPrincipal^ value);
}
abstract User : ClaimsPrincipal with get, set
function get User () : ClaimsPrincipal
function set User (value : ClaimsPrincipal)
屬性值
型別:ClaimsPrincipal
ClaimsPrincipal 使用者。