Exemplo n.º 1
0
 public IList <RoleInfo> GetRolesBasicSearch(int portalID, int pageSize, string filterBy)
 {
     return(provider.GetRolesBasicSearch(portalID, pageSize, filterBy));
 }
Exemplo n.º 2
0
    private RoleInfo _GetDnnRole(string roleName)
    {
        RoleInfo role = (from r in _roleProvider.GetRolesBasicSearch(Dnn.Portal.PortalId, int.MaxValue, roleName) where String.Equals(r.RoleName, roleName, StringComparison.OrdinalIgnoreCase) select r).FirstOrDefault();

        return(role);
    }