C# Класс Shaml.Membership.NHRoleProvider

Наследование: System.Web.Security.RoleProvider
Показать файл Открыть проект

Открытые методы

Метод Описание
AddUsersToRoles ( string usernames, string roleNames ) : void

RoleProvider.AddUsersToRoles

CreateRole ( string roleName ) : void

RoleProvider.CreateRole

DeleteRole ( string roleName, bool throwOnPopulatedRole ) : bool

RoleProvider.DeleteRole

FindUsersInRole ( string roleName, string usernameToMatch ) : string[]

RoleProvider.FindUsersInRole

GetAllRoles ( ) : string[]

RoleProvider.GetAllRoles

GetRolesForUser ( string username ) : string[]

RoleProvider.GetRolesForUser

GetUsersInRole ( string roleName ) : string[]

RoleProvider.GetUsersInRole

Initialize ( string name, NameValueCollection config ) : void

System.Configuration.Provider.ProviderBase.Initialize Method

IsUserInRole ( string username, string roleName ) : bool

RoleProvider.IsUserInRole

RemoveUsersFromRoles ( string usernames, string roleNames ) : void

RoleProvider.RemoveUsersFromRoles

RoleExists ( string roleName ) : bool

RoleProvider.RoleExists

Описание методов

AddUsersToRoles() публичный Метод

RoleProvider.AddUsersToRoles
public AddUsersToRoles ( string usernames, string roleNames ) : void
usernames string
roleNames string
Результат void

CreateRole() публичный Метод

RoleProvider.CreateRole
public CreateRole ( string roleName ) : void
roleName string
Результат void

DeleteRole() публичный Метод

RoleProvider.DeleteRole
public DeleteRole ( string roleName, bool throwOnPopulatedRole ) : bool
roleName string
throwOnPopulatedRole bool
Результат bool

FindUsersInRole() публичный Метод

RoleProvider.FindUsersInRole
public FindUsersInRole ( string roleName, string usernameToMatch ) : string[]
roleName string
usernameToMatch string
Результат string[]

GetAllRoles() публичный Метод

RoleProvider.GetAllRoles
public GetAllRoles ( ) : string[]
Результат string[]

GetRolesForUser() публичный Метод

RoleProvider.GetRolesForUser
public GetRolesForUser ( string username ) : string[]
username string
Результат string[]

GetUsersInRole() публичный Метод

RoleProvider.GetUsersInRole
public GetUsersInRole ( string roleName ) : string[]
roleName string
Результат string[]

Initialize() публичный Метод

System.Configuration.Provider.ProviderBase.Initialize Method
public Initialize ( string name, NameValueCollection config ) : void
name string
config System.Collections.Specialized.NameValueCollection
Результат void

IsUserInRole() публичный Метод

RoleProvider.IsUserInRole
public IsUserInRole ( string username, string roleName ) : bool
username string
roleName string
Результат bool

RemoveUsersFromRoles() публичный Метод

RoleProvider.RemoveUsersFromRoles
public RemoveUsersFromRoles ( string usernames, string roleNames ) : void
usernames string
roleNames string
Результат void

RoleExists() публичный Метод

RoleProvider.RoleExists
public RoleExists ( string roleName ) : bool
roleName string
Результат bool