Table of Contents

Class UserRegistrationOptions

Namespace
The.Components
Assembly
Instagile.dll
public class UserRegistrationOptions
Inheritance
UserRegistrationOptions
Inherited Members

Properties

AutomaticallyAcceptRegistrationUntil

if set, automatically accept user registration prior to the specified time. must not be set to a time more than one day into the future or else the framework will throw an exception during composition.

public DateTime? AutomaticallyAcceptRegistrationUntil { get; set; }

Property Value

DateTime?

AutomaticallyAcceptedUserAccountSetup

Only used if AutomaticallyAcceptRegistrationUntil is later than the current time during a user registration request. Invoked immediately before the new user account is saved.

public Func<IUserAccount, CancellationToken, Task>? AutomaticallyAcceptedUserAccountSetup { get; set; }

Property Value

Func<IUserAccount, CancellationToken, Task>

Remarks

Generally used for adding application-specific admin roles/flags to a developer account or the first admin account on a newly deployed system.

AutomaticallySetAdminFlag

public bool AutomaticallySetAdminFlag { get; set; }

Property Value

bool

EnrolmentUsername

public string EnrolmentUsername { get; set; }

Property Value

string

GetOtherUserInformation

Invoked during user registration on the server to attach some additional user information to the request.

public GetOtherUserInformation? GetOtherUserInformation { get; set; }

Property Value

GetOtherUserInformation

Remarks

Values returned by this function with the same key as a value provided by the client's initial registration request will be overwritten.