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

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

Bases: object


x.__init__(…) initializes x; see help(type(x)) for signature


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