Метод | Описание | |
---|---|---|
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 |
Метод | Описание | |
---|---|---|
ToAccountInfo ( System.Web.Security.MembershipUser muser ) : N2.Security.AccountInfo |
public AddUserToRole ( string userName, string roleName ) : void | ||
userName | string | |
roleName | string | |
Результат | void |
public ChangePassword ( string userName, string newPassword ) : bool | ||
userName | string | |
newPassword | string | |
Результат | bool |
public CreateRole ( string roleName ) : void | ||
roleName | string | |
Результат | void |
public DeleteRole ( string roleName ) : bool | ||
roleName | string | |
Результат | bool |
public DeleteUser ( string userName ) : void | ||
userName | string | |
Результат | void |
public FindUserByName ( string userName ) : IAccountInfo | ||
userName | string | |
Результат | IAccountInfo |
public GetRolesForUser ( string userName ) : string[] | ||
userName | string | |
Результат | string[] |
public GetUsers ( int start, int max ) : IList |
||
start | int | |
max | int | |
Результат | IList |
public GetUsersInRole ( string roleName ) : string[] | ||
roleName | string | |
Результат | string[] |
public HasUsersInRole ( string roleName ) : bool | ||
roleName | string | |
Результат | bool |
public IsUserInRole ( string userName, string roleName ) : bool | ||
userName | string | |
roleName | string | |
Результат | bool |
public MembershipAccountManager ( ) : System | ||
Результат | System |
public RemoveUserFromRole ( string userName, string roleName ) : void | ||
userName | string | |
roleName | string | |
Результат | void |
public UnlockUser ( string userName ) : void | ||
userName | string | |
Результат | void |
public UpdateUserEmail ( string userName, string email ) : void | ||
userName | string | |
string | ||
Результат | void |