View Source
Interface ICoreBackOfficeUserManager
Assembly: Umbraco.Core.dll
Syntax
public interface ICoreBackOfficeUserManager
Methods
View Source
CreateAsync(UserCreateModel)
Declaration
Task<IdentityCreationResult> CreateAsync(UserCreateModel createModel)
Parameters
Returns
View Source
CreateForInvite(UserCreateModel)
Creates a user for an invite. This means that the password will not be populated with
Declaration
Task<IdentityCreationResult> CreateForInvite(UserCreateModel createModel)
Parameters
Returns
View Source
GenerateEmailConfirmationTokenAsync(IUser)
Declaration
Task<Attempt<string, UserOperationStatus>> GenerateEmailConfirmationTokenAsync(IUser user)
Parameters
Type |
Name |
Description |
IUser |
user |
|
Returns
View Source
GeneratePassword()
Declaration
string GeneratePassword()
Returns
Type |
Description |
System.String |
|
View Source
GeneratePasswordResetTokenAsync(IUser)
Declaration
Task<Attempt<string, UserOperationStatus>> GeneratePasswordResetTokenAsync(IUser user)
Parameters
Type |
Name |
Description |
IUser |
user |
|
Returns
View Source
GetLoginsAsync(IUser)
Declaration
Task<Attempt<ICollection<IIdentityUserLogin>, UserOperationStatus>> GetLoginsAsync(IUser user)
Parameters
Type |
Name |
Description |
IUser |
user |
|
Returns
View Source
IsEmailConfirmationTokenValidAsync(IUser, String)
Declaration
Task<bool> IsEmailConfirmationTokenValidAsync(IUser user, string token)
Parameters
Type |
Name |
Description |
IUser |
user |
|
System.String |
token |
|
Returns
Type |
Description |
Task<System.Boolean> |
|
View Source
IsResetPasswordTokenValidAsync(IUser, String)
Declaration
Task<bool> IsResetPasswordTokenValidAsync(IUser user, string token)
Parameters
Type |
Name |
Description |
IUser |
user |
|
System.String |
token |
|
Returns
Type |
Description |
Task<System.Boolean> |
|
View Source
NotifyForgotPasswordRequested(IPrincipal, String)
Declaration
void NotifyForgotPasswordRequested(IPrincipal user, string toString)
Parameters
Type |
Name |
Description |
System.Security.Principal.IPrincipal |
user |
|
System.String |
toString |
|
View Source
UnlockUser(IUser)
Declaration
Task<Attempt<UserUnlockResult, UserOperationStatus>> UnlockUser(IUser user)
Parameters
Type |
Name |
Description |
IUser |
user |
|
Returns