Class CreateUserWithProviderOptions
Contains the options for creating a new IUser with a specified authentication provider. Used with CreateUserAsync(CreateUserWithProviderOptions, CancellationToken).
Inheritance
System.Object
CreateUserWithProviderOptions
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 CreateUserWithProviderOptions
Remarks
See Create User with Authentication Provider 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. |
ProviderName
Gets or sets the optional authentication provider name.
Declaration
public string ProviderName { get; set; }
Property Value
Type | Description |
---|---|
System.String | The authentication provider name. |
ProviderType
Gets or sets the authentication provider type.
Declaration
public AuthenticationProviderType ProviderType { get; set; }
Property Value
Type | Description |
---|---|
AuthenticationProviderType | The authentication provider type. |