models.user_id_mapping module¶
-
class
models.user_id_mapping.
UserIdMapping
(centrify_zone_mapping=None, custom_attributes_mapping=None, fixed_mapping=None, mtype=None)[source]¶ Bases:
object
Implementation of the ‘UserIdMapping’ model.
Specifies how the Unix and Windows users are mapped in an Active Directory.
- Attributes:
- centrify_zone_mapping (CentrifyZone): Specifies the properties
associated to a Centrify zone of an Active Directory domain.
- custom_attributes_mapping (CustomUnixIdAttributes): Specifies the
custom attributes when mapping type is set to ‘kCustomAttributes’. It defines the attribute names to derive the mapping for a user of an Active Directory domain.
- fixed_mapping (FixedUnixIdMapping): Specifies the fields when mapping
type is set to ‘kFixed’. It maps all Active Directory users of a domain to a fixed Unix uid, and gid.
- mtype (TypeUserIdMappingEnum): Specifies the mapping type used. ‘kRid’
indicates the kRid mapping type. ‘kRfc2307’ indicates the kRfc2307 mapping type. ‘kSfu30’ indicates the kSfu30 mapping type. ‘kCentrify’ indicates the mapping type to refer to a centrify zone. ‘kFixed’ indicates the mapping from all Active Directory users to a fixed Unix uid, and gid. ‘kCustomAttributes’ indicates the mapping to derive from custom attributes defined in an AD domain. ‘kLdapProvider’ indicates the Active Directory to LDAP provider mapping.
-
classmethod
from_dictionary
(dictionary)[source]¶ Creates an instance of this model from a dictionary
- Args:
dictionary (dictionary): A dictionary representation of the object as obtained from the deserialization of the server’s response. The keys MUST match property names in the API description.
- Returns:
object: An instance of this structure class.