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
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
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
EnrolmentUsername
public string EnrolmentUsername { get; set; }
Property Value
GetOtherUserInformation
Invoked during user registration on the server to attach some additional user information to the request.
public GetOtherUserInformation? GetOtherUserInformation { get; set; }
Property Value
Remarks
Values returned by this function with the same key as a value provided by the client's initial registration request will be overwritten.