Homec4science

added 2 functions:

Authored by Gregory Favre <gregory.favre@cern.ch> on Nov 15 2005, 11:29.

Description

added 2 functions:

def list_users_in_role(role):

"""List all users of a given role (see table accROLE)
   @param role: role of user (string)
   @return list of uids"""

def list_users_in_roles(role_list):

"""List all users of given roles (see table accROLE)
   @param role_list: list of roles [string]
   @return list of uids"""

Event Timeline

Gregory Favre <gregory.favre@cern.ch> committed R3600:a05cd994a3c4: added 2 functions: (authored by Gregory Favre <gregory.favre@cern.ch>).Nov 15 2005, 11:29