Class ConsumerUserSearchQuery
Provides parameters for a query that selects Developer Portal users from the registry.
Implements
Inherited Members
Namespace: Nevatech.Vsb.Repository.Entities.Search
Assembly: Nevatech.Vsb.Repository.dll
Syntax
[DataContract(Namespace = "http://schemas.nevatech.com/sentinet/2011/02")]
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
[DataMember(EmitDefaultValue = false)]
public int? ConsumerId { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
ConsumerName
Gets or sets the name of the consumer account that user belongs to.
Declaration
[DataMember(EmitDefaultValue = false)]
public string ConsumerName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ErrorMessage
Gets the message indicating the errors found during validation process.
Declaration
public string ErrorMessage { get; }
Property Value
| Type | Description |
|---|---|
| string |
FullName
Gets or sets the full name of the user that may include wildcards.
Declaration
[DataMember(EmitDefaultValue = false)]
public string FullName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Identity
Gets or sets the user identity name (user name, Windows name, etc). If not set then it is not checked.
Declaration
[DataMember(EmitDefaultValue = false)]
public string Identity { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
IsEnabled
Gets or sets the flag indicating that user account is enabled. If not set then it is not checked.
Declaration
[DataMember(EmitDefaultValue = false)]
public bool? IsEnabled { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
Key
Gets or sets the user's unique identifier.
Declaration
[DataMember(EmitDefaultValue = false)]
public Guid? Key { get; set; }
Property Value
| Type | Description |
|---|---|
| Guid? |
Permission
Gets or sets the access level to folder that user must have. If not set then all levels are accepted.
Declaration
[DataMember(EmitDefaultValue = false)]
public AccessLevel? Permission { get; set; }
Property Value
| Type | Description |
|---|---|
| AccessLevel? |
SortField
Gets or sets the field that result will be sorted by.
Declaration
[DataMember]
public UsersSortField SortField { get; set; }
Property Value
| Type | Description |
|---|---|
| UsersSortField |
SortOrder
Gets or sets the result sort order.
Declaration
[DataMember]
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 |
|---|---|
| bool | True if state is valid; otherwise, false. |