C# Class AspNetEmailExample.Models.IdentityManager

Show file Open project: TypecastException/AspNetEmailExample

Public Methods

Method Description
AddUserToRole ( string userId, string roleName ) : bool
ClearUserRoles ( string userId ) : void
CreateRole ( string name ) : bool
CreateUser ( ApplicationUser user, string password ) : bool
RoleExists ( string name ) : bool

Method Details

AddUserToRole() public method

public AddUserToRole ( string userId, string roleName ) : bool
userId string
roleName string
return bool

ClearUserRoles() public method

public ClearUserRoles ( string userId ) : void
userId string
return void

CreateRole() public method

public CreateRole ( string name ) : bool
name string
return bool

CreateUser() public method

public CreateUser ( ApplicationUser user, string password ) : bool
user ApplicationUser
password string
return bool

RoleExists() public method

public RoleExists ( string name ) : bool
name string
return bool