Class UserDefinition
Represents a system user.
Inherited Members
Namespace: Nevatech.Vsb.Repository.Services
Assembly: Nevatech.Vsb.Repository.dll
Syntax
public sealed class UserDefinition : User, IValidator, IExtensibleDataObject, IEquatable<User>, IFolderEntity
Constructors
UserDefinition()
Instantiates an empty user definition.
Declaration
public UserDefinition()
UserDefinition(User)
Initializes new instance from provided user.
Declaration
public UserDefinition(User user)
Parameters
Type | Name | Description |
---|---|---|
User | user | User to be initialized from. |
Properties
Identities
Gets collection of user identities.
Declaration
public Collection<IdentityDefinitionBase> Identities { get; }
Property Value
Type | Description |
---|---|
Collection<IdentityDefinitionBase> |
Methods
CopyFrom(User)
Populates current instance from provided user.
Declaration
public void CopyFrom(User user)
Parameters
Type | Name | Description |
---|---|---|
User | user | User to be populated from. |
Validate()
Evaluates the state of this object.
Declaration
public override bool Validate()
Returns
Type | Description |
---|---|
Boolean | True if state is valid; otherwise, false. |