Class UserDefinition
Represents a system user.
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
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 |
---|---|
System.Collections.ObjectModel.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 |
---|---|
System.Boolean | True if state is valid; otherwise, false. |
Overrides
Implements
System.Runtime.Serialization.IExtensibleDataObject
System.IEquatable<T>