tldap.manager¶
The default manager’s and linkdescriptors used for tldap objects.
Terminology:
- primary key
- is the key that is not changed.
- f / foriegn
- is the object containing the primary key.
- f_key
- is this key, i.e. the primary key in the foriegn object.
- f_key
- is always a single value.
- foriegn key
- is the referenced key.
- p / primary
- is the object containing the foriegn key.
- p_value
- is this key, i.e. the foriegn key in the primary object.
- this
- is the object being operated on.
- linked
- is the object being referenced for this operation.
if p_value_is_list is true then p_value must be a list. if p_value_is_list is false then p_value must be a single value.
-
class
tldap.manager.
AdAccountLinkDescriptor
(**kwargs)[source]¶ This field represents a link from an AD group to an AD account.
-
class
tldap.manager.
AdGroupLinkDescriptor
(**kwargs)[source]¶ This field represents a link from an AD account to an AD group.
-
class
tldap.manager.
AdPrimaryAccountLinkDescriptor
(domain_sid, **kwargs)[source]¶ This field represents a link from a user to a primary AD group. Update operations not guaranteed to work, due to AD rules.
-
class
tldap.manager.
AdPrimaryGroupLinkDescriptor
(domain_sid, **kwargs)[source]¶ This field represents a link from a primary AD group to a user. Update operations operations not guaranteed to work, due to AD rules.
-
class
tldap.manager.
LinkDescriptor
(this_key, linked_cls, linked_key, linked_is_p, p_value_is_list, related_name=None)[source]¶ Base class for any field that links to another object.
-
class
tldap.manager.
ManyToManyDescriptor
(**kwargs)[source]¶ Field for this object that has an attribute containing a list of references to linked objects.