你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ServiceUser 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
ServiceUser() |
初始化 ServiceUser 类的新实例。 |
ServiceUser(IEnumerable<ClaimsIdentity>) |
从指定的 |
ServiceUser(IIdentity) |
从指定的 |
ServiceUser()
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
从其初始化新的声明主体的标识。