Namespace: Microsoft.IdentityModel.Claims
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)
Usage
Visual Basic |
---|
Dim instance As ClaimsPrincipal |
Syntax
Visual Basic |
---|
<SerializableAttribute> _ Public Class ClaimsPrincipal Implements IClaimsPrincipal, IPrincipal |
C# |
---|
[SerializableAttribute] public class ClaimsPrincipal : IClaimsPrincipal, IPrincipal |
C++ |
---|
[SerializableAttribute] public ref class ClaimsPrincipal : IClaimsPrincipal, IPrincipal |
J# |
---|
/** @attribute SerializableAttribute() */ public class ClaimsPrincipal implements IClaimsPrincipal, IPrincipal |
JScript |
---|
SerializableAttribute public class ClaimsPrincipal implements IClaimsPrincipal, IPrincipal |
Remarks
When you have enabled WIF, you should use T:Microsoft.IdentityModel.Claims.ClaimsPrincipal rather than T:System.ServiceModel.OperationContext.ServiceSecurityContext.
Inheritance Hierarchy
System.Object
Microsoft.IdentityModel.Claims.ClaimsPrincipal
Microsoft.IdentityModel.Claims.ClaimsPrincipal
Thread Safety
Any public static (Shared in Visual
Basic) members of this type are thread safe. Any instance members
are not guaranteed to be thread safe.