Initializes an instance of the WindowsClaimsPrincipal.
命名空间: Microsoft.IdentityModel.Claims
程序集: Microsoft.IdentityModel(microsoft.identitymodel.dll 中)
用法
Dim identity As WindowsIdentity Dim instance As New WindowsClaimsPrincipal(identity)
语法
声明
Public Sub New ( _
identity As WindowsIdentity _
)
public WindowsClaimsPrincipal (
WindowsIdentity identity
)
public:
WindowsClaimsPrincipal (
WindowsIdentity^ identity
)
public WindowsClaimsPrincipal (
WindowsIdentity identity
)
public function WindowsClaimsPrincipal (
identity : WindowsIdentity
)
参数
- identity
The WindowsIdentity with which to initialize the object.
平台
开发平台
Windows Server 2003, Windows Vista
Target Platforms
Windows Server 2008, Windows Vista, Not tested on Windows XP
请参见
参考
WindowsClaimsPrincipal 类
WindowsClaimsPrincipal 成员
Microsoft.IdentityModel.Claims 命名空间