API version:
Show / Hide Table of Contents

Class CreateUserWithPasswordOptions

Contains the options for creating a new IUser with a password. Used with CreateUserAsync(CreateUserWithPasswordOptions, CancellationToken).

Inheritance
System.Object
CreateUserWithPasswordOptions
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 sealed class CreateUserWithPasswordOptions
Remarks

See Create User with Password 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).

Password

Gets or sets the new user's password.

Declaration
public string Password { get; set; }
Property Value
Type Description
System.String

The new user's password.

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.

Back to top Copyright © 2021 Okta, Inc.
Generated with DocFx.