Свойство | Тип | Описание | |
---|---|---|---|
ConnectToDatabase | IDatabase | ||
CreateTablesIfNeeded | void | ||
FindRoleId | System.Guid | ||
GetRoleIdsFromNames | List |
||
GetUserIdsFromNames | List |
||
VerifyInitialized | void |
Метод | Описание | |
---|---|---|
AddUsersToRoles ( string usernames, string roleNames ) : void | ||
CreateRole ( string roleName ) : void | ||
DeleteRole ( string roleName, bool throwOnPopulatedRole ) : bool | ||
FindUsersInRole ( string roleName, string usernameToMatch ) : string[] | ||
GetAllRoles ( ) : string[] | ||
GetRolesForUser ( string username ) : string[] | ||
GetUsersInRole ( string roleName ) : string[] | ||
IsUserInRole ( string username, string roleName ) : bool | ||
RemoveUsersFromRoles ( string usernames, string roleNames ) : void | ||
RoleExists ( string roleName ) : bool | ||
SimpleRoleProvider ( ) : System | ||
SimpleRoleProvider ( System.Web.Security.RoleProvider previousProvider ) : System |
Метод | Описание | |
---|---|---|
ConnectToDatabase ( ) : IDatabase | ||
CreateTablesIfNeeded ( ) : void | ||
FindRoleId ( IDatabase db, string roleName ) : System.Guid | ||
GetRoleIdsFromNames ( IDatabase db, string roleNames ) : List |
||
GetUserIdsFromNames ( IDatabase db, string usernames ) : List |
||
VerifyInitialized ( ) : void |
public AddUsersToRoles ( string usernames, string roleNames ) : void | ||
usernames | string | |
roleNames | string | |
Результат | void |
public CreateRole ( string roleName ) : void | ||
roleName | string | |
Результат | void |
public DeleteRole ( string roleName, bool throwOnPopulatedRole ) : bool | ||
roleName | string | |
throwOnPopulatedRole | bool | |
Результат | bool |
public FindUsersInRole ( string roleName, string usernameToMatch ) : string[] | ||
roleName | string | |
usernameToMatch | string | |
Результат | string[] |
public GetRolesForUser ( string username ) : string[] | ||
username | string | |
Результат | string[] |
public GetUsersInRole ( string roleName ) : string[] | ||
roleName | string | |
Результат | string[] |
public IsUserInRole ( string username, string roleName ) : bool | ||
username | string | |
roleName | string | |
Результат | bool |
public RemoveUsersFromRoles ( string usernames, string roleNames ) : void | ||
usernames | string | |
roleNames | string | |
Результат | void |
public RoleExists ( string roleName ) : bool | ||
roleName | string | |
Результат | bool |
public SimpleRoleProvider ( System.Web.Security.RoleProvider previousProvider ) : System | ||
previousProvider | System.Web.Security.RoleProvider | |
Результат | System |