Class IdentityReference
Represents a reference to identity by node, user, or endpoint (extends Identity type).
Inherited Members
Namespace: Nevatech.Vsb.Repository.Entities
Assembly: Nevatech.Vsb.Repository.dll
Syntax
public sealed class IdentityReference : Identity, IValidator, IExtensibleDataObject, IEquatable<Identity>, IFolderEntity
  Constructors
IdentityReference()
Initializes a new instance of the IdentityReference object.
Declaration
public IdentityReference()
  IdentityReference(Identity)
Initializes a new instance from provided Identity object.
Declaration
public IdentityReference(Identity identity)
  Parameters
| Type | Name | Description | 
|---|---|---|
| Identity | identity | Identity to be initialized from.  | 
      
Properties
EndpointId
Gets identifier of the endpoint that uses that identity.
Declaration
public int? EndpointId { get; }
  Property Value
| Type | Description | 
|---|---|
| Nullable<Int32> | 
EndpointName
Gets name of the endpoint that uses that identity.
Declaration
public string EndpointName { get; }
  Property Value
| Type | Description | 
|---|---|
| String | 
IsActive
Gets flag indicating that identity reference belongs to an enabled entity.
Declaration
public bool IsActive { get; }
  Property Value
| Type | Description | 
|---|---|
| Boolean | 
IsVirtual
Gets flag indicating that service (if any) using that identity is virtual.
Declaration
public bool? IsVirtual { get; }
  Property Value
| Type | Description | 
|---|---|
| Nullable<Boolean> | 
NodeId
Gets identifier of the node that uses that identity.
Declaration
public int? NodeId { get; }
  Property Value
| Type | Description | 
|---|---|
| Nullable<Int32> | 
NodeKey
Gets unique key of the node that uses that identity.
Declaration
public Guid? NodeKey { get; }
  Property Value
| Type | Description | 
|---|---|
| Nullable<Guid> | 
NodeName
Gets name of the node that uses that identity.
Declaration
public string NodeName { get; }
  Property Value
| Type | Description | 
|---|---|
| String | 
ServiceName
Gets name of the service that uses that identity.
Declaration
public string ServiceName { get; }
  Property Value
| Type | Description | 
|---|---|
| String | 
ServiceVersionId
Gets identifier of the service version that uses that identity.
Declaration
public int? ServiceVersionId { get; }
  Property Value
| Type | Description | 
|---|---|
| Nullable<Int32> | 
ServiceVersionKey
Gets unique key of the service version that uses that identity.
Declaration
public Guid? ServiceVersionKey { get; }
  Property Value
| Type | Description | 
|---|---|
| Nullable<Guid> | 
UserId
Gets identifier of the user that uses that identity.
Declaration
public int? UserId { get; }
  Property Value
| Type | Description | 
|---|---|
| Nullable<Int32> | 
UserKey
Gets unique key of the user that uses that identity.
Declaration
public Guid? UserKey { get; }
  Property Value
| Type | Description | 
|---|---|
| Nullable<Guid> | 
UserName
Gets full name of the user that uses that identity.
Declaration
public string UserName { get; }
  Property Value
| Type | Description | 
|---|---|
| String | 
VersionNumber
Gets version number of the service version that uses that identity.
Declaration
public int? VersionNumber { get; }
  Property Value
| Type | Description | 
|---|---|
| Nullable<Int32> |