Class GlobalRoleIdentity
Summary description for GlobalRoleIdentity.
Inheritance
System.Object
GlobalRoleIdentity
Implements
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
public class GlobalRoleIdentity : IClaimDescriptor
Constructors
GlobalRoleIdentity()
Initializes a new instance of the GlobalRoleIdentity class.
Declaration
public GlobalRoleIdentity()
GlobalRoleIdentity(GlobalRoleIdentity)
Initializes a new instance of the GlobalRoleIdentity class.
Declaration
public GlobalRoleIdentity(GlobalRoleIdentity identity)
Parameters
Type | Name | Description |
---|---|---|
GlobalRoleIdentity | identity |
GlobalRoleIdentity(String, GlobalRoles)
Initializes a new instance of the GlobalRoleIdentity class.
Declaration
public GlobalRoleIdentity(string identity, GlobalRoles roles = GlobalRoles.None)
Parameters
Type | Name | Description |
---|---|---|
System.String | identity | |
GlobalRoles | roles |
GlobalRoleIdentity(String, String, GlobalRoles)
Declaration
public GlobalRoleIdentity(string claimType, string claimValue, GlobalRoles roles = GlobalRoles.None)
Parameters
Type | Name | Description |
---|---|---|
System.String | claimType | |
System.String | claimValue | |
GlobalRoles | roles |
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 GlobalRoleIdentity
Declaration
public string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Identity
Get/Sets the Identity of the GlobalRoleIdentity
Declaration
[Obsolete("Use ClaimValue instead")]
public string Identity { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Name
Get/Sets the Name of the GlobalRoleIdentity
Declaration
[Obsolete("Use Identity (or DisplayName) instead")]
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String | The name of the identity |
Roles
Get/Sets the Roles of the GlobalRoleIdentity
Declaration
public GlobalRoles Roles { get; set; }
Property Value
Type | Description |
---|---|
GlobalRoles |