C# Class N2.Security.MembershipAccountManager

Inheritance: N2.Security.AccountManager
Mostrar archivo Open project: bherila/n2cms

Public Methods

Method Description
AddUserToRole ( string userName, string roleName ) : void
AreRolesEnabled ( ) : bool
ChangePassword ( string userName, string newPassword ) : bool
CreateRole ( string roleName ) : void
DeleteRole ( string roleName ) : bool
DeleteUser ( string userName ) : void
FindUserByName ( string userName ) : IAccountInfo
GetAllRoles ( ) : string[]
GetRolesForUser ( string userName ) : string[]
GetUsers ( int start, int max ) : IList
GetUsersCount ( ) : int
GetUsersInRole ( string roleName ) : string[]
HasUsersInRole ( string roleName ) : bool
IsUserInRole ( string userName, string roleName ) : bool
MembershipAccountManager ( ) : System
RemoveUserFromRole ( string userName, string roleName ) : void
UnlockUser ( string userName ) : void
UpdateUserEmail ( string userName, string email ) : void

Private Methods

Method Description
ToAccountInfo ( System.Web.Security.MembershipUser muser ) : N2.Security.AccountInfo

Method Details

AddUserToRole() public method

public AddUserToRole ( string userName, string roleName ) : void
userName string
roleName string
return void

AreRolesEnabled() public method

public AreRolesEnabled ( ) : bool
return bool

ChangePassword() public method

public ChangePassword ( string userName, string newPassword ) : bool
userName string
newPassword string
return bool

CreateRole() public method

public CreateRole ( string roleName ) : void
roleName string
return void

DeleteRole() public method

public DeleteRole ( string roleName ) : bool
roleName string
return bool

DeleteUser() public method

public DeleteUser ( string userName ) : void
userName string
return void

FindUserByName() public method

public FindUserByName ( string userName ) : IAccountInfo
userName string
return IAccountInfo

GetAllRoles() public method

public GetAllRoles ( ) : string[]
return string[]

GetRolesForUser() public method

public GetRolesForUser ( string userName ) : string[]
userName string
return string[]

GetUsers() public method

public GetUsers ( int start, int max ) : IList
start int
max int
return IList

GetUsersCount() public method

public GetUsersCount ( ) : int
return int

GetUsersInRole() public method

public GetUsersInRole ( string roleName ) : string[]
roleName string
return string[]

HasUsersInRole() public method

public HasUsersInRole ( string roleName ) : bool
roleName string
return bool

IsUserInRole() public method

public IsUserInRole ( string userName, string roleName ) : bool
userName string
roleName string
return bool

MembershipAccountManager() public method

public MembershipAccountManager ( ) : System
return System

RemoveUserFromRole() public method

public RemoveUserFromRole ( string userName, string roleName ) : void
userName string
roleName string
return void

UnlockUser() public method

public UnlockUser ( string userName ) : void
userName string
return void

UpdateUserEmail() public method

public UpdateUserEmail ( string userName, string email ) : void
userName string
email string
return void