Class UserRegistration
- Namespace
- The.Components
- Assembly
- Instagile.dll
public static class UserRegistration
- Inheritance
-
UserRegistration
- Inherited Members
Methods
GetRegistrationPolicyAsync(RPCService, CancellationToken?)
Find out whether a registration request may propose a password; otherwise an administrator issues one on approval.
public static Task<ComponentProcedures.RegistrationPolicy> GetRegistrationPolicyAsync(RPCService rpc, CancellationToken? cancellationToken = null)
Parameters
rpcRPCServicecancellationTokenCancellationToken?
Returns
RequestPasswordRegistration(RPCService, string, string?, CancellationToken?)
public static Task RequestPasswordRegistration(RPCService rpc, string username, string? displayName = null, CancellationToken? cancellationToken = null)
Parameters
rpcRPCServiceusernamestringdisplayNamestringcancellationTokenCancellationToken?
Returns
RequestPasswordRegistration(RPCService, string, string?, string, Dictionary<string, string>, string?, CancellationToken?)
public static Task RequestPasswordRegistration(RPCService rpc, string username, string? displayName, string requestReason, Dictionary<string, string> otherUserInformation, string? proposedPassword, CancellationToken? cancellationToken)
Parameters
rpcRPCServiceThe service to send the request through.
usernamestringThe username to register.
displayNamestringThe name to display for the user; defaults to
username.requestReasonstringThe reason for the request, shown to the administrator.
otherUserInformationDictionary<string, string>Additional details about the user, stored with the request.
proposedPasswordstringOnly accepted while AcceptsProposedPasswords; otherwise leave it null, and an administrator issues a temporary password on approval.
cancellationTokenCancellationToken?Cancels the request.
Returns
RequestPkiRegistration(RPCService, string?, string?, CancellationToken?)
public static Task RequestPkiRegistration(RPCService rpc, string? displayName = null, string? username = null, CancellationToken? cancellationToken = null)
Parameters
rpcRPCServicedisplayNamestringusernamestringcancellationTokenCancellationToken?
Returns
RequestPkiRegistration(RPCService, string?, string?, string, Dictionary<string, string>, CancellationToken?)
public static Task RequestPkiRegistration(RPCService rpc, string? displayName, string? username, string requestReason, Dictionary<string, string> otherUserInformation, CancellationToken? cancellationToken)
Parameters
rpcRPCServicedisplayNamestringusernamestringrequestReasonstringotherUserInformationDictionary<string, string>cancellationTokenCancellationToken?