Class WindowsNoPasswordIdentityDefinition
Represents serializable Windows user name and domain name credentials.
Inherited Members
Namespace: Nevatech.Vsb.Repository.Services.Identities
Assembly: Nevatech.Vsb.Repository.dll
Syntax
public sealed class WindowsNoPasswordIdentityDefinition : IdentityDefinitionBase, IValidator, IExtensibleDataObject
  Constructors
WindowsNoPasswordIdentityDefinition()
Initializes an empty instance.
Declaration
public WindowsNoPasswordIdentityDefinition()
  WindowsNoPasswordIdentityDefinition(Identity)
Initializes new instance from provided Identity object.
Declaration
public WindowsNoPasswordIdentityDefinition(Identity identity)
  Parameters
| Type | Name | Description | 
|---|---|---|
| Identity | identity | Identity object used to populate new instance.  | 
      
WindowsNoPasswordIdentityDefinition(String, String)
Initializes new instance from provided user name and domain.
Declaration
public WindowsNoPasswordIdentityDefinition(string userName, string domain)
  Parameters
| Type | Name | Description | 
|---|---|---|
| String | userName | User name associated with the credentials.  | 
      
| String | domain | Domain or computer name that verifies the credentials.  | 
      
Properties
Domain
Gets the domain or computer name that verifies the credentials.
Declaration
public string Domain { get; set; }
  Property Value
| Type | Description | 
|---|---|
| String | 
FriendlyName
Gets friendly name describing stored identity.
Declaration
public override string FriendlyName { get; set; }
  Property Value
| Type | Description | 
|---|---|
| String | 
Overrides
Kind
Gets stored identity kind (like X.509 certificate, SPN, etc).
Declaration
public override IdentityKind Kind { get; protected set; }
  Property Value
| Type | Description | 
|---|---|
| IdentityKind | 
Overrides
UserName
Gets the user name associated with the credentials.
Declaration
public string UserName { get; set; }
  Property Value
| Type | Description | 
|---|---|
| String | 
Methods
GetIdentity()
Returns Identity object populated with the data stored in this instance.
Declaration
public override Identity GetIdentity()
  Returns
| Type | Description | 
|---|---|
| Identity | Identity object populated with the data stored in this instance.  | 
      
Overrides
Validate()
Validates this domain object's state.
Declaration
public override bool Validate()
  Returns
| Type | Description | 
|---|---|
| Boolean | True if object's state is valid; otherwise, false.  |