public ArrayList GetUsersInRole(int PortalID, string RoleName) { return(provider.GetUserRolesByRoleName(PortalID, RoleName)); }
/// <summary> /// Get the users in a role (as UserRole objects) /// </summary> /// <param name="portalId">Id of the portal (If -1 all roles for all portals are /// retrieved.</param> /// <param name="roleName">The role to fetch users for</param> /// <returns>An ArrayList of UserRoleInfo objects</returns> public ArrayList GetUserRolesByRoleName(int portalId, string roleName) { return(provider.GetUserRolesByRoleName(portalId, roleName)); }