Esempio n. 1
0
 public ArrayList GetUsersInRole(int PortalID, string RoleName)
 {
     return(provider.GetUserRolesByRoleName(PortalID, RoleName));
 }
Esempio n. 2
0
 /// <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));
 }