C# Класс Catbert4.Services.UserManagement.RoleService

Наследование: IRoleService
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
GetManagementRolesForUserInApplication ( string application, string login ) : List

Return what kind of user management permissions the given user has in the application.

GetVisibleByUser ( string application, string login ) : IQueryable
RoleService ( IRepository permissionRepository, IRepository applicationRoleRepository ) : System.Collections.Generic

Приватные методы

Метод Описание
GetManageableApplicationRoles ( string application, string login ) : IQueryable

Get all of the additionally manageable roles that the user has. This is found by taking the largest role level the user has and then finding all roles above that level.

GetRolesForUser ( string application, string login ) : IQueryable

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

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

Return what kind of user management permissions the given user has in the application.
public GetManagementRolesForUserInApplication ( string application, string login ) : List
application string
login string
Результат List

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

public GetVisibleByUser ( string application, string login ) : IQueryable
application string
login string
Результат IQueryable

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

public RoleService ( IRepository permissionRepository, IRepository applicationRoleRepository ) : System.Collections.Generic
permissionRepository IRepository
applicationRoleRepository IRepository
Результат System.Collections.Generic