VOMSService class encapsulates connection to the VOMS service for a given VO

class DIRAC.Core.Security.VOMSService.VOMSService(vo=None)

Bases: object



Parameters:vo (str) – name of the virtual organization (community)

Get VOMS VO name, kept for backward compatibility

Returns:S_OK with Value: VOMS VO name
attGetUserNickname(dn, _ca=None)

Get user nickname for a given DN if any :param str dn: user DN :param str _ca: CA, kept for backward compatibility :return: S_OK with Value: nickname


Get all the users of the VOMS VO with their detailed information

Returns:user dictionary keyed by the user DN