Class ConsumerUserSearchQuery
Provides parameters for a query that selects Developer Portal users from the registry.
Inheritance
Implements
Inherited Members
Namespace: Nevatech.Vsb.Repository.Entities.Search
Assembly: Nevatech.Vsb.Repository.dll
Syntax
public sealed class ConsumerUserSearchQuery : IValidator
Constructors
ConsumerUserSearchQuery()
Declaration
public ConsumerUserSearchQuery()
Properties
ConsumerId
Gets or sets the identifier of the consumer account that user belongs to. If identifier is provided then ConsumerName search parameter is ignored.
Declaration
public int? ConsumerId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
ConsumerName
Gets or sets the name of the consumer account that user belongs to.
Declaration
public string ConsumerName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ErrorMessage
Gets the message indicating the errors found during validation process.
Declaration
public string ErrorMessage { get; }
Property Value
Type | Description |
---|---|
System.String |
FullName
Gets or sets the full name of the user that may include wildcards.
Declaration
public string FullName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Identity
Gets or sets the user identity name (user name, Windows name, etc). If not set then it is not checked.
Declaration
public string Identity { get; set; }
Property Value
Type | Description |
---|---|
System.String |
IsEnabled
Gets or sets the flag indicating that user account is enabled. If not set then it is not checked.
Declaration
public bool? IsEnabled { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |
Key
Gets or sets the user's unique identifier.
Declaration
public Guid? Key { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Guid> |
Permission
Gets or sets the access level to folder that user must have. If not set then all levels are accepted.
Declaration
public AccessLevel? Permission { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<AccessLevel> |
SortField
Gets or sets the field that result will be sorted by.
Declaration
public UsersSortField SortField { get; set; }
Property Value
Type | Description |
---|---|
UsersSortField |
SortOrder
Gets or sets the result sort order.
Declaration
public SortOrder SortOrder { get; set; }
Property Value
Type | Description |
---|---|
SortOrder |
Methods
Validate()
Evaluates the state of this object.
Declaration
public bool Validate()
Returns
Type | Description |
---|---|
System.Boolean | True if state is valid; otherwise, false. |