The Domain
class inherits from Resource
.
openstack.identity.v3.domain.
Domain
(_synchronized=False, connection=None, **attrs)¶The base resource
Parameters: |
|
---|
description
¶The description of this domain. Type: string
is_enabled
¶Setting this attribute to False
prevents users from authorizing
against this domain or any projects owned by this domain, and prevents
users owned by this domain from authenticating or receiving any other
authorization. Additionally, all pre-existing tokens applicable
to the above entities are immediately invalidated.
Re-enabling a domain does not re-enable pre-existing tokens.
Type: bool
name
¶The globally unique name of this domain. Type: string
links
¶The links related to the domain resource.
assign_role_to_user
(session, user, role)¶Assign role to user on domain
validate_user_has_role
(session, user, role)¶Validates that a user has a role on a domain
unassign_role_from_user
(session, user, role)¶Unassigns a role from a user on a domain
assign_role_to_group
(session, group, role)¶Assign role to group on domain
validate_group_has_role
(session, group, role)¶Validates that a group has a role on a domain
unassign_role_from_group
(session, group, role)¶Unassigns a role from a group on a domain
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.