Class WindowsGroupIdentityDefinition
Represents serializable Windows group name and domain name credentials.
Inherited Members
Namespace: Nevatech.Vsb.Repository.Services.Identities
Assembly: Nevatech.Vsb.Repository.dll
Syntax
public sealed class WindowsGroupIdentityDefinition : IdentityDefinitionBase, IValidator, IExtensibleDataObject
Constructors
WindowsGroupIdentityDefinition()
Initializes an empty instance.
Declaration
public WindowsGroupIdentityDefinition()
WindowsGroupIdentityDefinition(Identity)
Initializes new instance from provided Identity object.
Declaration
public WindowsGroupIdentityDefinition(Identity identity)
Parameters
Type | Name | Description |
---|---|---|
Identity | identity | Identity object used to populate new instance. |
WindowsGroupIdentityDefinition(String, String)
Initializes new instance from provided user name and domain.
Declaration
public WindowsGroupIdentityDefinition(string groupName, string domain)
Parameters
Type | Name | Description |
---|---|---|
System.String | groupName | User name associated with the credentials. |
System.String | domain | Domain or computer name that verifies the credentials. |
Properties
Domain
Gets or sets the domain or computer name that verifies the credentials.
Declaration
public string Domain { get; set; }
Property Value
Type | Description |
---|---|
System.String |
FriendlyName
Gets or sets the friendly name describing stored identity.
Declaration
public override string FriendlyName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
GroupName
Gets or sets the Windows group name associated with the credentials.
Declaration
public string GroupName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
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
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 |
---|---|
System.Boolean | True if object's state is valid; otherwise, false. |