C# Class Catbert4.Services.UserManagement.RoleService

Inheritance: IRoleService
Afficher le fichier Open project: ucdavis/Catbert Class Usage Examples

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
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

Method Details

GetManagementRolesForUserInApplication() public méthode

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
Résultat List

GetVisibleByUser() public méthode

public GetVisibleByUser ( string application, string login ) : IQueryable
application string
login string
Résultat IQueryable

RoleService() public méthode

public RoleService ( IRepository permissionRepository, IRepository applicationRoleRepository ) : System.Collections.Generic
permissionRepository IRepository
applicationRoleRepository IRepository
Résultat System.Collections.Generic