[Serializable] |
ctor #1 | Overloaded:.ctor(string name) Initializes a new instance of the GenericIdentity class representing the user with the specified name. |
ctor #2 | Overloaded:.ctor(string name, string type) Initializes a new instance of the GenericIdentity class representing the user with the specified name and authentication type. |
AuthenticationType | Read-only Gets the type of authentication used to identify the user. |
IsAuthenticated | Read-only Gets a value indicating whether the user has been authenticated. |
Name | Read-only Gets the user's name. |
Equals (inherited from System.Object) |
See base class member description: System.Object.Equals Derived from System.Object, the primary base class for all objects. |
GetHashCode (inherited from System.Object) |
See base class member description: System.Object.GetHashCode Derived from System.Object, the primary base class for all objects. |
GetType (inherited from System.Object) |
See base class member description: System.Object.GetType Derived from System.Object, the primary base class for all objects. |
ToString (inherited from System.Object) |
See base class member description: System.Object.ToString Derived from System.Object, the primary base class for all objects. |
Finalize (inherited from System.Object) |
See base class member description: System.Object.Finalize Derived from System.Object, the primary base class for all objects. |
MemberwiseClone (inherited from System.Object) |
See base class member description: System.Object.MemberwiseClone Derived from System.Object, the primary base class for all objects. |
Hierarchy:
public GenericIdentity( |
name
Exception Type | Condition |
---|---|
ArgumentNullException | The name parameter is null. |
name
type
Exception Type | Condition |
---|---|
ArgumentNullException | The name parameter is null. -or- The type parameter is null. |
public virtual string AuthenticationType {get;}
|
public virtual bool IsAuthenticated {get;}
|
public virtual string Name {get;}
|
~GenericIdentity(); |
public virtual int GetHashCode(); |
public Type GetType(); |
protected object MemberwiseClone(); |
public virtual string ToString(); |