univention.udm.modules package

Submodules

univention.udm.modules.appcenter_app module

Module and object specific for “appcenter/app” UDM module.

class univention.udm.modules.appcenter_app.AppcenterAppObjectProperties(udm_obj)[source]

Bases: univention.udm.modules.generic.GenericObjectProperties

appcenter/app UDM properties.

class univention.udm.modules.appcenter_app.AppcenterAppObject[source]

Bases: univention.udm.modules.generic.GenericObject

Better representation of appcenter/app properties.

Don’t instantiate a GenericObject directly. Use GenericModule.get(), GenericModule.new() or GenericModule.search().

udm_prop_class

alias of univention.udm.modules.appcenter_app.AppcenterAppObjectProperties

class univention.udm.modules.appcenter_app.AppcenterAppModule(name, connection, api_version)[source]

Bases: univention.udm.modules.generic.GenericModule

AppcenterAppObject factory

meta = GenericModuleMetadata(supported_api_versions=[1, 2], suitable_for=['appcenter/app'], used_api_version=None, default_positions_property=None)

univention.udm.modules.computers_all module

Module and object for all computers/* UDM modules.

class univention.udm.modules.computers_all.ComputersAllObjectProperties(udm_obj)[source]

Bases: univention.udm.modules.generic.GenericObjectProperties

computers/* UDM properties.

class univention.udm.modules.computers_all.ComputersAllObject[source]

Bases: univention.udm.modules.generic.GenericObject

Better representation of computers/* properties.

Don’t instantiate a GenericObject directly. Use GenericModule.get(), GenericModule.new() or GenericModule.search().

udm_prop_class

alias of univention.udm.modules.computers_all.ComputersAllObjectProperties

class univention.udm.modules.computers_all.ComputersAllModule(name, connection, api_version)[source]

Bases: univention.udm.modules.generic.GenericModule

ComputersAllObject factory

meta = GenericModuleMetadata(supported_api_versions=[1, 2], suitable_for=['computers/*'], used_api_version=None, default_positions_property='computers')
class univention.udm.modules.computers_all.ComputersDCModule(name, connection, api_version)[source]

Bases: univention.udm.modules.computers_all.ComputersAllModule

ComputersAllObject factory with an adjusted default position

meta = GenericModuleMetadata(supported_api_versions=[1, 2], suitable_for=['computers/domaincontroller_master', 'computers/domaincontroller_backup', 'computers/domaincontroller_slave'], used_api_version=None, default_positions_property='domaincontroller')
class univention.udm.modules.computers_all.ComputersMemberModule(name, connection, api_version)[source]

Bases: univention.udm.modules.computers_all.ComputersAllModule

ComputersAllObject factory with an adjusted default position

meta = GenericModuleMetadata(supported_api_versions=[1, 2], suitable_for=['computers/memberserver'], used_api_version=None, default_positions_property='computers')

univention.udm.modules.container_cn module

Module and object specific for “container/cn” UDM module.

class univention.udm.modules.container_cn.ContainerCnObjectProperties(udm_obj)[source]

Bases: univention.udm.modules.generic.GenericObjectProperties

container/cn UDM properties.

class univention.udm.modules.container_cn.ContainerCnObject[source]

Bases: univention.udm.modules.generic.GenericObject

Better representation of container/cn properties.

Don’t instantiate a GenericObject directly. Use GenericModule.get(), GenericModule.new() or GenericModule.search().

udm_prop_class

alias of univention.udm.modules.container_cn.ContainerCnObjectProperties

class univention.udm.modules.container_cn.ContainerCnModule(name, connection, api_version)[source]

Bases: univention.udm.modules.generic.GenericModule

ContainerCnObject factory

meta = GenericModuleMetadata(supported_api_versions=[1, 2], suitable_for=['containers/cn'], used_api_version=None, default_positions_property=None)

univention.udm.modules.container_dc module

Module and object specific for “container/dc” UDM module.

class univention.udm.modules.container_dc.ContainerDcObjectProperties(udm_obj)[source]

Bases: univention.udm.modules.generic.GenericObjectProperties

container/dc UDM properties.

class univention.udm.modules.container_dc.ContainerDcObject[source]

Bases: univention.udm.modules.generic.GenericObject

Better representation of container/dc properties.

Don’t instantiate a GenericObject directly. Use GenericModule.get(), GenericModule.new() or GenericModule.search().

udm_prop_class

alias of univention.udm.modules.container_dc.ContainerDcObjectProperties

class univention.udm.modules.container_dc.ContainerDcModule(name, connection, api_version)[source]

Bases: univention.udm.modules.generic.GenericModule

ContainerDcObject factory

meta = GenericModuleMetadata(supported_api_versions=[1, 2], suitable_for=['containers/dc'], used_api_version=None, default_positions_property=None)

univention.udm.modules.container_ou module

Module and object specific for “container/ou” UDM module.

class univention.udm.modules.container_ou.ContainerOuObjectProperties(udm_obj)[source]

Bases: univention.udm.modules.container_cn.ContainerCnObjectProperties

container/ou UDM properties.

class univention.udm.modules.container_ou.ContainerOuObject[source]

Bases: univention.udm.modules.container_cn.ContainerCnObject

Better representation of container/ou properties.

Don’t instantiate a GenericObject directly. Use GenericModule.get(), GenericModule.new() or GenericModule.search().

udm_prop_class

alias of univention.udm.modules.container_ou.ContainerOuObjectProperties

class univention.udm.modules.container_ou.ContainerOuModule(name, connection, api_version)[source]

Bases: univention.udm.modules.container_cn.ContainerCnModule

ContainerOuObject factory

meta = GenericModuleMetadata(supported_api_versions=[1, 2], suitable_for=['containers/ou'], used_api_version=None, default_positions_property=None)

univention.udm.modules.generic module

A generic UDM module and object implementation. Will work for all kinds of UDM modules.

class univention.udm.modules.generic.GenericObjectProperties(udm_obj)[source]

Bases: univention.udm.base.BaseObjectProperties

Container for UDM properties.

_encoders is a mapping from property names to subclasses of _encoders.BaseEncoder, which will be used to transparently map between the properties representation in original UDM and the new UDM APIs.

class univention.udm.modules.generic.GenericObject[source]

Bases: univention.udm.base.BaseObject

Generic object class that can be used with all UDM module types.

Usage:

  • Creation of instances GenericObject is always done through GenericModul.new(), GenericModul.get() or GenericModul.search().

  • Modify an object:

    user.props.firstname = 'Peter'
    user.props.lastname = 'Pan'
    user.save()
    
  • Move an object:

    user.position = 'cn=users,ou=Company,dc=example,dc=com'
    user.save()
    
  • Delete an object:

    obj.delete()
    

After saving a GenericObject, it is reload()ed automatically because UDM hooks and listener modules often add, modify or remove properties when saving to LDAP. As this involves LDAP, it can be disabled if the object is not used afterwards and performance is an issue:

user_mod.meta.auto_reload = False

Don’t instantiate a GenericObject directly. Use GenericModule.get(), GenericModule.new() or GenericModule.search().

udm_prop_class

alias of univention.udm.modules.generic.GenericObjectProperties

reload()[source]

Refresh object from LDAP.

Returns

self

Return type

GenericObject

Raises

univention.udm.exceptions.NotYetSavedError – if object does not yet exist (has no dn)

save()[source]

Save object to LDAP.

Returns

self

Return type

GenericObject

Raises

univention.udm.exceptions.MoveError – when a move operation fails

delete(remove_childs=False)[source]

Remove the object (and optionally its child nodes) from the LDAP database.

Parameters

remove_childs (bool) – if there are UDM objects below this objects DN, recursively remove them before removing this object

Returns

None

Raises
class univention.udm.modules.generic.GenericModuleMetadata(meta)[source]

Bases: univention.udm.base.BaseModuleMetadata

property identifying_property

UDM Property of which the mapped LDAP attribute is used as first component in a DN, e.g. username (LDAP attribute uid) or name (LDAP attribute cn).

lookup_filter(filter_s=None)[source]

Filter the UDM module uses to find its corresponding LDAP objects.

This can be used in two ways:

  • get the filter to find all objects:

    myfilter_s = obj.meta.lookup_filter()
    
  • get the filter to find a subset of the corresponding LDAP objects (filter_s will be combined with & to the filter for all objects):

    myfilter = obj.meta.lookup_filter('(|(givenName=A*)(givenName=B*))')
    
Parameters

filter_s (str) – optional LDAP filter expression

Returns

an LDAP filter string

Return type

str

property mapping

UDM properties to LDAP attributes mapping and vice versa.

Returns

a namedtuple containing two mappings: a) from UDM property to LDAP attribute and b) from LDAP attribute to UDM property

Return type

LdapMapping

class univention.udm.modules.generic.GenericModuleMeta(name, bases, attrs)[source]

Bases: univention.udm.base.ModuleMeta

udm_meta_class

alias of univention.udm.modules.generic.GenericModuleMetadata

class univention.udm.modules.generic.GenericModule(name, connection, api_version)[source]

Bases: univention.udm.base.BaseModule

Simple API to use UDM modules. Basically a GenericObject factory.

Usage:

  1. Get module using:

    user_mod = UDM.admin/machine/credentials().version(2).get('users/user')
    
  2. Create fresh, not yet saved GenericObject:

    new_user = user_mod.new()
    
  3. Load an existing object:

    group = group_mod.get('cn=test,cn=groups,dc=example,dc=com')
    group = group_mod.get_by_id('Domain Users')
    
  4. Search and load existing objects:

    dc_slaves = dc_slave_mod.search(filter_s='cn=s10*')
    campus_groups = group_mod.search(base='ou=campus,dc=example,dc=com')
    
new(superordinate=None)[source]

Create a new, unsaved GenericObject object.

Parameters

superordinate (str or GenericObject) – DN or UDM object this one references as its superordinate (required by some modules)

Returns

a new, unsaved GenericObject object

Return type

GenericObject

get(dn)[source]

Load UDM object from LDAP.

Parameters

dn (str) – DN of the object to load

Returns

an existing GenericObject object

Return type

GenericObject

Raises
search(filter_s='', base='', scope='sub', sizelimit=0)[source]

Get all UDM objects from LDAP that match the given filter.

Parameters
  • filter_s (str) – LDAP filter (only object selector like uid=foo required, objectClasses will be set by the UDM module)

  • base (str) – subtree to search

  • scope (str) – depth to search

  • sizelimit (int) – LDAP size limit for searched results.

Returns

generator to iterate over GenericObject objects

Return type

Iterator(GenericObject)

meta = GenericModuleMetadata(supported_api_versions=[0, 1, 2], suitable_for=['*/*'], used_api_version=None, default_positions_property=None)

univention.udm.modules.groups_group module

Module and object specific for “groups/group” UDM module.

class univention.udm.modules.groups_group.GroupsGroupObjectProperties(udm_obj)[source]

Bases: univention.udm.modules.generic.GenericObjectProperties

groups/group UDM properties.

class univention.udm.modules.groups_group.GroupsGroupObject[source]

Bases: univention.udm.modules.generic.GenericObject

Better representation of groups/group properties.

Don’t instantiate a GenericObject directly. Use GenericModule.get(), GenericModule.new() or GenericModule.search().

udm_prop_class

alias of univention.udm.modules.groups_group.GroupsGroupObjectProperties

class univention.udm.modules.groups_group.GroupsGroupModule(name, connection, api_version)[source]

Bases: univention.udm.modules.generic.GenericModule

GroupsGroupObject factory

meta = GenericModuleMetadata(supported_api_versions=[1, 2], suitable_for=['groups/group'], used_api_version=None, default_positions_property='groups')

univention.udm.modules.mail_all module

Module and object specific for all “mail/*” UDM modules.

This module handles the problem that on a OX system, UDM modules are registered for oxmail/ox$NAME, that opens LDAP objects with both univentionObjectType=oxmail/ox$NAME and univentionObjectType=mail/$NAME.

GenericModule._verify_univention_object_type() raises a WrongObjectType exception when loading it.

The overwritten method _verify_univention_object_type() allows both mail/* and oxmail/* in univentionObjectType.

class univention.udm.modules.mail_all.MailAllObjectProperties(udm_obj)[source]

Bases: univention.udm.modules.generic.GenericObjectProperties

mail/* UDM properties.

class univention.udm.modules.mail_all.MailAllObject[source]

Bases: univention.udm.modules.generic.GenericObject

Better representation of mail/* properties.

Don’t instantiate a GenericObject directly. Use GenericModule.get(), GenericModule.new() or GenericModule.search().

udm_prop_class

alias of univention.udm.modules.mail_all.MailAllObjectProperties

class univention.udm.modules.mail_all.MailAllModule(name, connection, api_version)[source]

Bases: univention.udm.modules.generic.GenericModule

MailAllObject factory

meta = GenericModuleMetadata(supported_api_versions=[1, 2], suitable_for=['mail/*'], used_api_version=None, default_positions_property=None)

univention.udm.modules.nagios_service module

Module and object specific for “nagios/service” UDM module.

class univention.udm.modules.nagios_service.NagiosServiceObjectProperties(udm_obj)[source]

Bases: univention.udm.modules.generic.GenericObjectProperties

nagios/service UDM properties.

class univention.udm.modules.nagios_service.NagiosServiceObject[source]

Bases: univention.udm.modules.generic.GenericObject

Better representation of nagios/service properties.

Don’t instantiate a GenericObject directly. Use GenericModule.get(), GenericModule.new() or GenericModule.search().

udm_prop_class

alias of univention.udm.modules.nagios_service.NagiosServiceObjectProperties

class univention.udm.modules.nagios_service.NagiosServiceModule(name, connection, api_version)[source]

Bases: univention.udm.modules.generic.GenericModule

NagiosServiceObject factory

meta = GenericModuleMetadata(supported_api_versions=[1, 2], suitable_for=['nagios/service'], used_api_version=None, default_positions_property=None)

univention.udm.modules.policies_registry module

Module and object specific for “policies/registry” UDM module.

class univention.udm.modules.policies_registry.PoliciesRegistryObjectProperties(udm_obj)[source]

Bases: univention.udm.modules.generic.GenericObjectProperties

policies/registry UDM properties.

class univention.udm.modules.policies_registry.PoliciesRegistryObject[source]

Bases: univention.udm.modules.generic.GenericObject

Better representation of policies/registry properties.

Don’t instantiate a GenericObject directly. Use GenericModule.get(), GenericModule.new() or GenericModule.search().

udm_prop_class

alias of univention.udm.modules.policies_registry.PoliciesRegistryObjectProperties

class univention.udm.modules.policies_registry.PoliciesRegistryModule(name, connection, api_version)[source]

Bases: univention.udm.modules.generic.GenericModule

PoliciesRegistryObject factory

meta = GenericModuleMetadata(supported_api_versions=[1, 2], suitable_for=['policies/registry'], used_api_version=None, default_positions_property=None)

univention.udm.modules.policies_share_userquota module

Module and object specific for “policies/share_userquota” UDM module.

class univention.udm.modules.policies_share_userquota.PoliciesShareUserquotaObjectProperties(udm_obj)[source]

Bases: univention.udm.modules.generic.GenericObjectProperties

policies/share_userquota UDM properties.

class univention.udm.modules.policies_share_userquota.PoliciesShareUserquotaObject[source]

Bases: univention.udm.modules.generic.GenericObject

Better representation of policies/share_userquota properties.

Don’t instantiate a GenericObject directly. Use GenericModule.get(), GenericModule.new() or GenericModule.search().

udm_prop_class

alias of univention.udm.modules.policies_share_userquota.PoliciesShareUserquotaObjectProperties

class univention.udm.modules.policies_share_userquota.PoliciesShareUserquotaModule(name, connection, api_version)[source]

Bases: univention.udm.modules.generic.GenericModule

PoliciesShareUserquotaObject factory

meta = GenericModuleMetadata(supported_api_versions=[1, 2], suitable_for=['policies/share_userquota'], used_api_version=None, default_positions_property=None)

univention.udm.modules.policies_umc module

Module and object specific for “policies/umc” UDM module.

class univention.udm.modules.policies_umc.PoliciesUmcObjectProperties(udm_obj)[source]

Bases: univention.udm.modules.generic.GenericObjectProperties

policies/umc UDM properties.

class univention.udm.modules.policies_umc.PoliciesUmcObject[source]

Bases: univention.udm.modules.generic.GenericObject

Better representation of policies/umc properties.

Don’t instantiate a GenericObject directly. Use GenericModule.get(), GenericModule.new() or GenericModule.search().

udm_prop_class

alias of univention.udm.modules.policies_umc.PoliciesUmcObjectProperties

class univention.udm.modules.policies_umc.PoliciesUmcModule(name, connection, api_version)[source]

Bases: univention.udm.modules.generic.GenericModule

PoliciesUmcObject factory

meta = GenericModuleMetadata(supported_api_versions=[1, 2], suitable_for=['policies/umc'], used_api_version=None, default_positions_property=None)

univention.udm.modules.portal module

Module and object specific for “portals/portal” UDM module.

class univention.udm.modules.portal.ListOfListOflTextToListofDictPropertyEncoder(property_name=None, *args, **kwargs)[source]

Bases: univention.udm.encoders.BaseEncoder

static = True
static decode(value=None)[source]
static encode(value=None)[source]
class univention.udm.modules.portal.PortalsPortalObjectProperties(udm_obj)[source]

Bases: univention.udm.modules.generic.GenericObjectProperties

portals/portal UDM properties.

class univention.udm.modules.portal.PortalsPortalObject[source]

Bases: univention.udm.modules.generic.GenericObject

Better representation of portals/portal properties.

Don’t instantiate a GenericObject directly. Use GenericModule.get(), GenericModule.new() or GenericModule.search().

udm_prop_class

alias of univention.udm.modules.portal.PortalsPortalObjectProperties

class univention.udm.modules.portal.PortalsPortalModule(name, connection, api_version)[source]

Bases: univention.udm.modules.generic.GenericModule

PortalsPortalObject factory

meta = GenericModuleMetadata(supported_api_versions=[1, 2, 3], suitable_for=['portals/portal'], used_api_version=None, default_positions_property=None)
class univention.udm.modules.portal.PortalsCategoryObjectProperties(udm_obj)[source]

Bases: univention.udm.modules.generic.GenericObjectProperties

portals/category UDM properties.

class univention.udm.modules.portal.PortalsCategoryObject[source]

Bases: univention.udm.modules.generic.GenericObject

Better representation of portals/category properties.

Don’t instantiate a GenericObject directly. Use GenericModule.get(), GenericModule.new() or GenericModule.search().

udm_prop_class

alias of univention.udm.modules.portal.PortalsCategoryObjectProperties

class univention.udm.modules.portal.PortalsCategoryModule(name, connection, api_version)[source]

Bases: univention.udm.modules.generic.GenericModule

PortalsCategoryObject factory

meta = GenericModuleMetadata(supported_api_versions=[1, 2, 3], suitable_for=['portals/category'], used_api_version=None, default_positions_property=None)
class univention.udm.modules.portal.PortalsPortalEntryObjectProperties(udm_obj)[source]

Bases: univention.udm.modules.generic.GenericObjectProperties

portals/entry UDM properties.

class univention.udm.modules.portal.PortalsPortalEntryObject[source]

Bases: univention.udm.modules.generic.GenericObject

Better representation of portals/entry properties.

Don’t instantiate a GenericObject directly. Use GenericModule.get(), GenericModule.new() or GenericModule.search().

udm_prop_class

alias of univention.udm.modules.portal.PortalsPortalEntryObjectProperties

class univention.udm.modules.portal.PortalsPortalEntryModule(name, connection, api_version)[source]

Bases: univention.udm.modules.generic.GenericModule

PortalsPortalEntryObject factory

meta = GenericModuleMetadata(supported_api_versions=[1, 2, 3], suitable_for=['portals/entry'], used_api_version=None, default_positions_property=None)
class univention.udm.modules.portal.PortalsPortalFolderObjectProperties(udm_obj)[source]

Bases: univention.udm.modules.generic.GenericObjectProperties

portals/folder UDM properties.

class univention.udm.modules.portal.PortalsPortalFolderObject[source]

Bases: univention.udm.modules.generic.GenericObject

Better representation of portals/folder properties.

Don’t instantiate a GenericObject directly. Use GenericModule.get(), GenericModule.new() or GenericModule.search().

udm_prop_class

alias of univention.udm.modules.portal.PortalsPortalFolderObjectProperties

class univention.udm.modules.portal.PortalsPortalFolderModule(name, connection, api_version)[source]

Bases: univention.udm.modules.generic.GenericModule

PortalsPortalFolderObject factory

meta = GenericModuleMetadata(supported_api_versions=[1, 2, 3], suitable_for=['portals/folder'], used_api_version=None, default_positions_property=None)

univention.udm.modules.saml_serviceprovider module

Module and object specific for “saml/serviceprovider” UDM module.

class univention.udm.modules.saml_serviceprovider.SamlServiceproviderObjectProperties(udm_obj)[source]

Bases: univention.udm.modules.generic.GenericObjectProperties

saml/serviceprovider UDM properties.

class univention.udm.modules.saml_serviceprovider.SamlServiceproviderObject[source]

Bases: univention.udm.modules.generic.GenericObject

Better representation of saml/serviceprovider properties.

Don’t instantiate a GenericObject directly. Use GenericModule.get(), GenericModule.new() or GenericModule.search().

udm_prop_class

alias of univention.udm.modules.saml_serviceprovider.SamlServiceproviderObjectProperties

class univention.udm.modules.saml_serviceprovider.SamlServiceproviderModule(name, connection, api_version)[source]

Bases: univention.udm.modules.generic.GenericModule

SamlServiceproviderObject factory

meta = GenericModuleMetadata(supported_api_versions=[1, 2], suitable_for=['saml/serviceprovider'], used_api_version=None, default_positions_property=None)

univention.udm.modules.settings_data module

Module and object specific for “settings/data” UDM module.

class univention.udm.modules.settings_data.SettingsDataObjectProperties(udm_obj)[source]

Bases: univention.udm.modules.generic.GenericObjectProperties

settings/data UDM properties.

class univention.udm.modules.settings_data.SettingsDataObject[source]

Bases: univention.udm.modules.generic.GenericObject

Better representation of settings/portal properties.

Don’t instantiate a GenericObject directly. Use GenericModule.get(), GenericModule.new() or GenericModule.search().

udm_prop_class

alias of univention.udm.modules.settings_data.SettingsDataObjectProperties

class univention.udm.modules.settings_data.SettingsDataModule(name, connection, api_version)[source]

Bases: univention.udm.modules.generic.GenericModule

SettingsDataObject factory

meta = GenericModuleMetadata(supported_api_versions=[1, 2], suitable_for=['settings/data'], used_api_version=None, default_positions_property=None)

univention.udm.modules.settings_directory module

Module and object specific for “settings/directory” UDM module.

class univention.udm.modules.settings_directory.SettingsDirectoryObjectProperties(udm_obj)[source]

Bases: univention.udm.modules.generic.GenericObjectProperties

settings/directory UDM properties.

class univention.udm.modules.settings_directory.SettingsDirectoryObject[source]

Bases: univention.udm.modules.generic.GenericObject

Better representation of settings/directory properties.

Don’t instantiate a GenericObject directly. Use GenericModule.get(), GenericModule.new() or GenericModule.search().

udm_prop_class

alias of univention.udm.modules.settings_directory.SettingsDirectoryObjectProperties

class univention.udm.modules.settings_directory.SettingsDirectoryModule(name, connection, api_version)[source]

Bases: univention.udm.modules.generic.GenericModule

SettingsDirectoryObject factory

meta = GenericModuleMetadata(supported_api_versions=[1, 2], suitable_for=['settings/directory'], used_api_version=None, default_positions_property=None)

univention.udm.modules.settings_portal module

Module and object specific for “settings/portal” UDM module.

class univention.udm.modules.settings_portal.SettingsPortalObjectProperties(udm_obj)[source]

Bases: univention.udm.modules.generic.GenericObjectProperties

settings/portal UDM properties.

class univention.udm.modules.settings_portal.SettingsPortalObject[source]

Bases: univention.udm.modules.generic.GenericObject

Better representation of settings/portal properties.

Don’t instantiate a GenericObject directly. Use GenericModule.get(), GenericModule.new() or GenericModule.search().

udm_prop_class

alias of univention.udm.modules.settings_portal.SettingsPortalObjectProperties

class univention.udm.modules.settings_portal.SettingsPortalModule(name, connection, api_version)[source]

Bases: univention.udm.modules.generic.GenericModule

SettingsPortalObject factory

meta = GenericModuleMetadata(supported_api_versions=[1, 2], suitable_for=['settings/portal'], used_api_version=None, default_positions_property=None)

univention.udm.modules.settings_portal_category module

Module and object specific for “settings/portal_category” UDM module.

class univention.udm.modules.settings_portal_category.SettingsPortalCategoryObjectProperties(udm_obj)[source]

Bases: univention.udm.modules.generic.GenericObjectProperties

settings/portal_category UDM properties.

class univention.udm.modules.settings_portal_category.SettingsPortalCategoryObject[source]

Bases: univention.udm.modules.generic.GenericObject

Better representation of settings/portal_category properties.

Don’t instantiate a GenericObject directly. Use GenericModule.get(), GenericModule.new() or GenericModule.search().

udm_prop_class

alias of univention.udm.modules.settings_portal_category.SettingsPortalCategoryObjectProperties

class univention.udm.modules.settings_portal_category.SettingsPortalCategoryModule(name, connection, api_version)[source]

Bases: univention.udm.modules.generic.GenericModule

SettingsPortalCategoryObject factory

meta = GenericModuleMetadata(supported_api_versions=[2], suitable_for=['settings/portal_category'], used_api_version=None, default_positions_property=None)

univention.udm.modules.settings_portal_entry module

Module and object specific for “settings/portal_entry” UDM module.

class univention.udm.modules.settings_portal_entry.SettingsPortalEntryObjectProperties(udm_obj)[source]

Bases: univention.udm.modules.generic.GenericObjectProperties

settings/portal_entry UDM properties.

class univention.udm.modules.settings_portal_entry.SettingsPortalEntryObject[source]

Bases: univention.udm.modules.generic.GenericObject

Better representation of settings/portal_entry properties.

Don’t instantiate a GenericObject directly. Use GenericModule.get(), GenericModule.new() or GenericModule.search().

udm_prop_class

alias of univention.udm.modules.settings_portal_entry.SettingsPortalEntryObjectProperties

class univention.udm.modules.settings_portal_entry.SettingsPortalEntryModule(name, connection, api_version)[source]

Bases: univention.udm.modules.generic.GenericModule

SettingsPortalEntryObject factory

meta = GenericModuleMetadata(supported_api_versions=[1, 2], suitable_for=['settings/portal_entry'], used_api_version=None, default_positions_property=None)

univention.udm.modules.users_ldap_v0 module

FOR TESTING PURPOSES ONLY!

Module and object specific for “users/ldap” UDM module.

class univention.udm.modules.users_ldap_v0.UsersLdapObjectProperties(udm_obj)[source]

Bases: univention.udm.modules.generic.GenericObjectProperties

users/ldap UDM properties.

class univention.udm.modules.users_ldap_v0.UsersLdapObject[source]

Bases: univention.udm.modules.generic.GenericObject

Better representation of users/ldap properties.

Don’t instantiate a GenericObject directly. Use GenericModule.get(), GenericModule.new() or GenericModule.search().

udm_prop_class

alias of univention.udm.modules.users_ldap_v0.UsersLdapObjectProperties

class univention.udm.modules.users_ldap_v0.UsersLdapModule(name, connection, api_version)[source]

Bases: univention.udm.modules.generic.GenericModule

UsersLdapObject factory

meta = GenericModuleMetadata(supported_api_versions=[0], suitable_for=['users/ldap'], used_api_version=None, default_positions_property=None)

univention.udm.modules.users_ldap_v1 module

FOR TESTING PURPOSES ONLY!

Module and object specific for “users/ldap” UDM module.

class univention.udm.modules.users_ldap_v1.UsersLdapObjectProperties(udm_obj)[source]

Bases: univention.udm.modules.generic.GenericObjectProperties

users/ldap UDM properties.

class univention.udm.modules.users_ldap_v1.UsersLdapObject[source]

Bases: univention.udm.modules.generic.GenericObject

Better representation of users/ldap properties.

Don’t instantiate a GenericObject directly. Use GenericModule.get(), GenericModule.new() or GenericModule.search().

udm_prop_class

alias of univention.udm.modules.users_ldap_v1.UsersLdapObjectProperties

class univention.udm.modules.users_ldap_v1.UsersLdapModule(name, connection, api_version)[source]

Bases: univention.udm.modules.generic.GenericModule

UsersLdapObject factory

meta = GenericModuleMetadata(supported_api_versions=[1, 2], suitable_for=['users/ldap'], used_api_version=None, default_positions_property=None)

univention.udm.modules.users_user module

Module and object specific for “users/user” UDM module.

class univention.udm.modules.users_user.UsersUserObjectProperties(udm_obj)[source]

Bases: univention.udm.modules.generic.GenericObjectProperties

users/user UDM properties.

class univention.udm.modules.users_user.UsersUserObject[source]

Bases: univention.udm.modules.generic.GenericObject

Better representation of users/user properties.

Don’t instantiate a GenericObject directly. Use GenericModule.get(), GenericModule.new() or GenericModule.search().

udm_prop_class

alias of univention.udm.modules.users_user.UsersUserObjectProperties

class univention.udm.modules.users_user.UsersUserModule(name, connection, api_version)[source]

Bases: univention.udm.modules.generic.GenericModule

UsersUserObject factory

meta = GenericModuleMetadata(supported_api_versions=[1, 2], suitable_for=['users/user'], used_api_version=None, default_positions_property='users')