VOMSService

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

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

Bases: object

__init__(vo=None)

c’tor

Parameters:

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

attGetUserNickname(dn, _ca=None)

Get user nickname for a given DN if any

Parameters:
  • dn (str) – user DN

  • _ca (str) – CA, kept for backward compatibility

Returns:

S_OK with Value: nickname

getUsers()

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

Returns:

user dictionary keyed by the user DN