Class UserSearchQuery
Provides parameters for a query that selects 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 UserSearchQuery : SearchQuery, IValidator
Constructors
UserSearchQuery()
Declaration
public UserSearchQuery()
Properties
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 |
SecurityRoleId
Gets or sets the user security role identifier. If not set then user can be in any security role.
Declaration
[DataMember(EmitDefaultValue = false)]
public int? SecurityRoleId { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
Methods
Validate()
Evaluates the state of this object.
Declaration
public override bool Validate()
Returns
| Type | Description |
|---|---|
| bool | True if state is valid; otherwise, false. |