The T:Microsoft.IdentityModel.Claims.WindowsClaimsPrincipal class extends the T:System.Security.Principal.WindowsPrincipal to carry T:Microsoft.IdentityModel.Claims.Claim information in addition to the identity information draw from Windows security tokens.
下表列出了 WindowsClaimsPrincipal 类型公开的成员。
Public 构造函数
| 名称 | 说明 | |
|---|---|---|
| WindowsClaimsPrincipal | 已重载。 Initializes an instance of the WindowsClaimsPrincipal. |
页首
Public 属性
| 名称 | 说明 | |
|---|---|---|
![]() |
Identities | A collection of claims-based identities associated with this principal. |
![]() |
Identity | 重写。 Gets the IIdentity associated with this principal. |
页首
Public 方法
(另请参阅 Protected 方法)
| 名称 | 说明 | |
|---|---|---|
![]() |
Copy | Returns a new T:Microsoft.IdentityModel.Claims.WindowsClaimsPrincipal object copied from this object. |
![]() ![]() |
CreateFromWindowsIdentity | 已重载。 |
![]() |
Dispose | 已重载。 Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |
![]() |
Equals | 已重载。 (从 Object 继承) |
![]() |
GetHashCode | (从 Object 继承) |
![]() |
GetType | (从 Object 继承) |
![]() |
IsInRole | 已重载。 |
![]() ![]() |
ReferenceEquals | (从 Object 继承) |
![]() |
ToString | (从 Object 继承) |
页首
Protected 方法
| 名称 | 说明 | |
|---|---|---|
![]() |
Dispose | 已重载。 |
![]() |
Finalize | (从 Object 继承) |
![]() |
MemberwiseClone | (从 Object 继承) |
页首
请参见
参考
WindowsClaimsPrincipal 类
Microsoft.IdentityModel.Claims 命名空间
版权所有 (C) 2008 Microsoft Corporation。保留所有权利。
.gif)
.gif)
.gif)
.gif)