Class Identity
Summary description for Identity.
Inheritance
System.Object
    Identity
  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: ImageVault.Common.Data
Assembly: ImageVault.Common.dll
Syntax
[Obsolete("Identity is obsolete. Use GlobalRoleIdentity instead.")]
public class IdentityConstructors
Identity()
Initializes a new instance of the Identity class.
Declaration
public Identity()Identity(Identity)
Initializes a new instance of the Identity class.
Declaration
public Identity(Identity identity)Parameters
| Type | Name | Description | 
|---|---|---|
| Identity | identity | 
Identity(String, IdentityTypes)
Initializes a new instance of the Identity class.
Declaration
[Obsolete("Identity is obsolete. Use GlobalRoleIdentity instead.")]
public Identity(string name, IdentityTypes type = IdentityTypes.User)Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | name | |
| IdentityTypes | type | 
Properties
Name
Get/Sets the Name of the Identity
Declaration
public string Name { get; set; }Property Value
| Type | Description | 
|---|---|
| System.String | The name of the identity | 
Roles
Get/Sets the Roles of the Identity
Declaration
public GlobalRoles Roles { get; set; }Property Value
| Type | Description | 
|---|---|
| GlobalRoles | 
Type
Get/Sets the Type of the Identity
Declaration
public IdentityTypes Type { get; }Property Value
| Type | Description | 
|---|---|
| IdentityTypes | The IdentityTypes of the identity |