Class UserIdentity
Represents a simplic user identity
Inheritance
System.Object
UserIdentity
Implements
System.Security.Principal.IIdentity
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Simplic.Framework.Base
Assembly: Simplic.Framework.Base.dll
Syntax
public class UserIdentity : IIdentity
Properties
| Improve this Doc View SourceAuthenticationType
Gets or sets the authentication type
Declaration
public string AuthenticationType { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Id
Gets or sets the user id
Declaration
public int Id { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
IsAuthenticated
Gets or sets whether the user is authenticated
Declaration
public bool IsAuthenticated { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Name
Gets or sets the user name
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Implements
System.Security.Principal.IIdentity