Class DbGlobalRoleIdentity
Defines a mapping between a global role and an identity
Inheritance
System.Object
DbGlobalRoleIdentity
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.Core.Common.DbEntities
Assembly: ImageVault.Core.dll
Syntax
public class DbGlobalRoleIdentity
Constructors
DbGlobalRoleIdentity()
Initializes a new instance of the DbGlobalRoleIdentity class.
Declaration
public DbGlobalRoleIdentity()
DbGlobalRoleIdentity(GlobalRoleIdentity)
Initializes a new instance of the DbGlobalRoleIdentity class.
Declaration
public DbGlobalRoleIdentity(GlobalRoleIdentity identity)
Parameters
Type | Name | Description |
---|---|---|
GlobalRoleIdentity | identity |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | If |
Properties
ClaimType
Declaration
public string ClaimType { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ClaimValue
Declaration
public string ClaimValue { get; set; }
Property Value
Type | Description |
---|---|
System.String |
DisplayName
Get/Sets the DisplayName of the DbGlobalRoleIdentity
Declaration
public string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
GlobalRoleId
Get/Sets the GlobalRoleId of the DbGlobalRoleIdentity
Declaration
public int GlobalRoleId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The id of the global role |
Methods
ToGlobalRoleIdentity()
Converts the DbGlobalRoleIdentity to a GlobalRoleIdentity
Declaration
public GlobalRoleIdentity ToGlobalRoleIdentity()
Returns
Type | Description |
---|---|
GlobalRoleIdentity |