你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ServiceUser 构造函数

定义

重载

ServiceUser()

初始化 ServiceUser 类的新实例。

ServiceUser(IEnumerable<ClaimsIdentity>)

从指定的 identities 初始化 ServiceUser 类的新实例。

ServiceUser(IIdentity)

从指定的 identity 初始化 ServiceUser 类的新实例。

ServiceUser()

初始化 ServiceUser 类的新实例。

public ServiceUser ();
Public Sub New ()

适用于

ServiceUser(IEnumerable<ClaimsIdentity>)

从指定的 identities 初始化 ServiceUser 类的新实例。

public ServiceUser (System.Collections.Generic.IEnumerable<System.Security.Claims.ClaimsIdentity> identities);
new Microsoft.WindowsAzure.Mobile.Service.Security.ServiceUser : seq<System.Security.Claims.ClaimsIdentity> -> Microsoft.WindowsAzure.Mobile.Service.Security.ServiceUser
Public Sub New (identities As IEnumerable(Of ClaimsIdentity))

参数

identities
IEnumerable<ClaimsIdentity>

从其初始化新声明主体的标识。

适用于

ServiceUser(IIdentity)

从指定的 identity 初始化 ServiceUser 类的新实例。

public ServiceUser (System.Security.Principal.IIdentity identity);
new Microsoft.WindowsAzure.Mobile.Service.Security.ServiceUser : System.Security.Principal.IIdentity -> Microsoft.WindowsAzure.Mobile.Service.Security.ServiceUser
Public Sub New (identity As IIdentity)

参数

identity
IIdentity

从其初始化新的声明主体的标识。

适用于