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 |
Method | Description | |
---|---|---|
ToAccountInfo ( System.Web.Security.MembershipUser muser ) : N2.Security.AccountInfo |
public AddUserToRole ( string userName, string roleName ) : void | ||
userName | string | |
roleName | string | |
return | void |
public ChangePassword ( string userName, string newPassword ) : bool | ||
userName | string | |
newPassword | string | |
return | bool |
public FindUserByName ( string userName ) : IAccountInfo | ||
userName | string | |
return | IAccountInfo |
public GetRolesForUser ( string userName ) : string[] | ||
userName | string | |
return | string[] |
public GetUsers ( int start, int max ) : IList |
||
start | int | |
max | int | |
return | IList |
public GetUsersInRole ( string roleName ) : string[] | ||
roleName | string | |
return | string[] |
public HasUsersInRole ( string roleName ) : bool | ||
roleName | string | |
return | bool |
public IsUserInRole ( string userName, string roleName ) : bool | ||
userName | string | |
roleName | string | |
return | bool |
public RemoveUserFromRole ( string userName, string roleName ) : void | ||
userName | string | |
roleName | string | |
return | void |
public UpdateUserEmail ( string userName, string email ) : void | ||
userName | string | |
string | ||
return | void |