PassportPrincipal Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
This type is obsolete. The Passport authentication product is no longer supported and has been superseded by Live ID.
Represents a Passport-authenticated principal. This class is deprecated.
public ref class PassportPrincipal sealed : System::Security::Principal::GenericPrincipal
public sealed class PassportPrincipal : System.Security.Principal.GenericPrincipal
[System.Obsolete("This type is obsolete. The Passport authentication product is no longer supported and has been superseded by Live ID.")]
public sealed class PassportPrincipal : System.Security.Principal.GenericPrincipal
type PassportPrincipal = class
inherit GenericPrincipal
[<System.Obsolete("This type is obsolete. The Passport authentication product is no longer supported and has been superseded by Live ID.")>]
type PassportPrincipal = class
inherit GenericPrincipal
Public NotInheritable Class PassportPrincipal
Inherits GenericPrincipal
- Inheritance
- Inheritance
- Attributes
Remarks
This class has been deprecated and is no longer supported. Microsoft Passport Network was replaced by Windows Live ID.
Constructors
PassportPrincipal(PassportIdentity, String[]) |
Initializes a new instance of the PassportPrincipal class from a PassportIdentity instance and an array of role names to which the user represented by that PassportIdentity belongs. This class is deprecated. |
Properties
Claims |
Gets a collection that contains all of the claims from all of the claims identities associated with this claims principal. (Inherited from ClaimsPrincipal) |
CustomSerializationData |
Contains any additional data provided by a derived type. Typically set when calling WriteTo(BinaryWriter, Byte[]). (Inherited from ClaimsPrincipal) |
Identities |
Gets a collection that contains all of the claims identities associated with this claims principal. (Inherited from ClaimsPrincipal) |
Identity |
Gets the GenericIdentity of the user represented by the current GenericPrincipal. (Inherited from GenericPrincipal) |
Methods
AddIdentities(IEnumerable<ClaimsIdentity>) |
Adds the specified claims identities to this claims principal. (Inherited from ClaimsPrincipal) |
AddIdentity(ClaimsIdentity) |
Adds the specified claims identity to this claims principal. (Inherited from ClaimsPrincipal) |
Clone() |
Returns a copy of this instance. (Inherited from ClaimsPrincipal) |
CreateClaimsIdentity(BinaryReader) |
Creates a new claims identity. (Inherited from ClaimsPrincipal) |
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
FindAll(Predicate<Claim>) |
Retrieves all of the claims that are matched by the specified predicate. (Inherited from ClaimsPrincipal) |
FindAll(String) |
Retrieves all or the claims that have the specified claim type. (Inherited from ClaimsPrincipal) |
FindFirst(Predicate<Claim>) |
Retrieves the first claim that is matched by the specified predicate. (Inherited from ClaimsPrincipal) |
FindFirst(String) |
Retrieves the first claim with the specified claim type. (Inherited from ClaimsPrincipal) |
GetHashCode() |
Serves as the default hash function. (Inherited from Object) |
GetObjectData(SerializationInfo, StreamingContext) |
Populates the SerializationInfo with data needed to serialize the current ClaimsPrincipal object. (Inherited from ClaimsPrincipal) |
GetType() |
Gets the Type of the current instance. (Inherited from Object) |
HasClaim(Predicate<Claim>) |
Determines whether any of the claims identities associated with this claims principal contains a claim that is matched by the specified predicate. (Inherited from ClaimsPrincipal) |
HasClaim(String, String) |
Determines whether any of the claims identities associated with this claims principal contains a claim with the specified claim type and value. (Inherited from ClaimsPrincipal) |
IsInRole(String) |
Determines whether the current GenericPrincipal belongs to the specified role. (Inherited from GenericPrincipal) |
MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
ToString() |
Returns a string that represents the current object. (Inherited from Object) |
WriteTo(BinaryWriter) |
Serializes using a BinaryWriter. (Inherited from ClaimsPrincipal) |
WriteTo(BinaryWriter, Byte[]) |
Serializes using a BinaryWriter. (Inherited from ClaimsPrincipal) |