Class GetUserRequest
Represents a request for retrieving user information based on a specified field and value.
Inherited Members
Namespace: Innovt.Cloud.AWS.Cognito.Model
Assembly: Innovt.Cloud.AWS.Cognito.dll
Syntax
public class GetUserRequest : RequestBase, IRequestBase, IValidatableObject
Constructors
| Edit this page View SourceGetUserRequest()
Initializes a new instance of the GetUserRequest class with default settings.
Declaration
public GetUserRequest()
GetUserRequest(string, string)
Initializes a new instance of the GetUserRequest class with specified field and value.
Declaration
public GetUserRequest(string field, string value)
Parameters
| Type | Name | Description |
|---|---|---|
| string | field | The field to filter user retrieval. |
| string | value | The value to match in the specified field. |
Properties
| Edit this page View SourceExcludeExternalUser
Gets or sets a value indicating whether to exclude external users in the retrieval.
Declaration
public bool ExcludeExternalUser { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Field
Gets or sets the field to filter user retrieval.
Declaration
public string Field { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Value
Gets or sets the value to match in the specified field.
Declaration
public string Value { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
| Edit this page View SourceValidate(ValidationContext)
Validates the GetUserRequest instance.
Declaration
public override IEnumerable<ValidationResult> Validate(ValidationContext validationContext)
Parameters
| Type | Name | Description |
|---|---|---|
| ValidationContext | validationContext | The validation context. |
Returns
| Type | Description |
|---|---|
| IEnumerable<ValidationResult> | An IEnumerable<T> containing validation errors, if any. |