Class CreateUserWithRecoveryQuestionOptions
Contains the options for creating a new IUser with a recovery question/answer. Used with CreateUserAsync(CreateUserWithRecoveryQuestionOptions, CancellationToken).
Inheritance
System.Object
CreateUserWithRecoveryQuestionOptions
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Okta.Sdk
Assembly: Okta.Sdk.dll
Syntax
public class CreateUserWithRecoveryQuestionOptions
Remarks
See Create User with Recovery Question in the documentation.
Properties
Activate
Gets or sets a value indicating whether the new user should be activated immediately.
Declaration
public bool Activate { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | Whether the new user should be activated immediately. |
Remarks
The default value is true
(users will be activated immediately).
Profile
Gets or sets the new user's profile.
Declaration
public UserProfile Profile { get; set; }
Property Value
Type | Description |
---|---|
UserProfile | The user's profile. |
RecoveryAnswer
Gets or sets the new user's recovery answer.
Declaration
public string RecoveryAnswer { get; set; }
Property Value
Type | Description |
---|---|
System.String | The new user's recovery answer. |
RecoveryQuestion
Gets or sets the new user's recovery question.
Declaration
public string RecoveryQuestion { get; set; }
Property Value
Type | Description |
---|---|
System.String | The new user's recovery question. |