Compartilhar via


WindowsClaimsIdentity Members

[Starting with the .NET Framework 4.5, Windows Identity Foundation (WIF) has been fully integrated into the .NET Framework. The version of WIF addressed by this topic, WIF 3.5, is deprecated and should only be used when developing against the .NET Framework 3.5 SP1 or the .NET Framework 4. For more information about WIF in the .NET Framework 4.5, also known as WIF 4.5, see the Windows Identity Foundation documentation in the .NET Framework 4.5 Development Guide.]

Extension of WindowsClaimsIdentity that includes claims representation.

The following tables list the members exposed by the WindowsClaimsIdentity type.

Public Constructors

(see also Protected Constructors)

  Name Description
  WindowsClaimsIdentity Overloaded.  

Top

Protected Constructors

  Name Description
  WindowsClaimsIdentity Overloaded.  

Top

Public Properties

  Name Description
public property Actor Gets the calling party that was granted delegation rights.
public property AuthenticationType  (Inherited from WindowsIdentity)
public property BootstrapToken Gets or sets the security token that was originally used to create this identity.
public property Claims Gets the set of claims associated with this identity.
public property Groups  (Inherited from WindowsIdentity)
public property ImpersonationLevel  (Inherited from WindowsIdentity)
public property IsAnonymous  (Inherited from WindowsIdentity)
public property IsAuthenticated  (Inherited from WindowsIdentity)
public property IsGuest  (Inherited from WindowsIdentity)
public property IsSystem  (Inherited from WindowsIdentity)
public property Label Gets or sets a label for the user represented by this WindowsClaimsIdentity.
public property Name Overridden. Gets the name of the user represented by this WindowsClaimsIdentity.
public property NameClaimType Gets or sets the claim type to be used for the Name property.
public property Owner  (Inherited from WindowsIdentity)
public property RoleClaimType Gets or sets the claim type used for the IsInRole method.
public property Token  (Inherited from WindowsIdentity)
public property User  (Inherited from WindowsIdentity)

Top

Public Methods

(see also Protected Methods)

  Name Description
public methodstatic CertificateLogon Creates a WindowsClaimsIdentity associated with a specified X.509 certificate.
public method Copy Returns a new WindowsClaimsIdentity object copied from this object.
public methodstatic CreateFromCertificate Overloaded. Creates a new instance of the WindowsClaimsIdentity class from an X.509 certificate.
public methodstatic CreateFromUpn Overloaded. Creates a new instance of the WindowsClaimsIdentity class using a Kerberos User Principal Name (UPN).
public method Dispose  (Inherited from WindowsIdentity)
public method Equals  (Inherited from Object)
public methodstatic GetCurrent Creates a WindowsClaimsIdentity from the current windows user.
public method GetHashCode  (Inherited from Object)
public method GetType  (Inherited from Object)
public method Impersonate  (Inherited from WindowsIdentity)
public method ToString Overridden. Returns a string representation of the WindowsClaimsIdentity object.

Top

Protected Methods

  Name Description
protected method CreatePrimarySidClaim Creates a Windows SID claim from the WindowsClaimsIdentity.
protected method Dispose Overridden. Releases the unmanaged resources used by the WindowsClaimsIdentity and optionally releases the managed resources.
protected method Finalize  (Inherited from Object)
protected method GetGroupSidClaims Gets a collection of SID claims that represent the user’s groups.
protected method GetObjectData Populates the specified SerializationInfo with the serialization data for the WindowsClaimsIdentity.
protected method MemberwiseClone  (Inherited from Object)

Top

See Also

Reference

WindowsClaimsIdentity Class
Microsoft.IdentityModel.Claims Namespace
WindowsClaimsIdentity.CertificateLogon Does Not Require Certificate to be Issued by a Root Trusted by Active Directory

Other Resources

Built-In Token Handlers
What is Windows Identity Foundation?
Claims to Windows Token Service (c2WTS) Overview

Copyright © 2008 by Microsoft Corporation. All rights reserved.