VOMSService
VOMSService class encapsulates connection to the VOMS service for a given VO
- class DIRAC.Core.Security.VOMSService.VOMSService(vo=None, compareWithIAM=False, useIAM=False)
Bases:
object
- __init__(vo=None, compareWithIAM=False, useIAM=False)
c’tor
- Parameters:
vo (str) – name of the virtual organization (community)
compareWithIAM – if true, also dump the list of users from IAM and compare
useIAM – if True, use Iam instead of VOMS
- getUsers()
Get all the users of the VOMS VO with their detailed information
- Returns:
dictionary of: “Users”: user dictionary keyed by the user DN, “Errors”: empty list