UserGroups

class oci.identity_domains.models.UserGroups(**kwargs)

Bases: object

A list of groups that the user belongs to, either thorough direct membership, nested groups, or dynamically calculated

Attributes

TYPE_DIRECT A constant which can be used with the type property of a UserGroups.
TYPE_INDIRECT A constant which can be used with the type property of a UserGroups.
date_added Gets the date_added of this UserGroups.
display Gets the display of this UserGroups.
external_id Gets the external_id of this UserGroups.
membership_ocid Gets the membership_ocid of this UserGroups.
non_unique_display Gets the non_unique_display of this UserGroups.
ocid Gets the ocid of this UserGroups.
ref Gets the ref of this UserGroups.
type Gets the type of this UserGroups.
value [Required] Gets the value of this UserGroups.

Methods

__init__(**kwargs) Initializes a new UserGroups object with values from keyword arguments.
TYPE_DIRECT = 'direct'

A constant which can be used with the type property of a UserGroups. This constant has a value of “direct”

TYPE_INDIRECT = 'indirect'

A constant which can be used with the type property of a UserGroups. This constant has a value of “indirect”

__init__(**kwargs)

Initializes a new UserGroups object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • value (str) – The value to assign to the value property of this UserGroups.
  • ocid (str) – The value to assign to the ocid property of this UserGroups.
  • ref (str) – The value to assign to the ref property of this UserGroups.
  • display (str) – The value to assign to the display property of this UserGroups.
  • non_unique_display (str) – The value to assign to the non_unique_display property of this UserGroups.
  • external_id (str) – The value to assign to the external_id property of this UserGroups.
  • type (str) – The value to assign to the type property of this UserGroups. Allowed values for this property are: “direct”, “indirect”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • membership_ocid (str) – The value to assign to the membership_ocid property of this UserGroups.
  • date_added (str) – The value to assign to the date_added property of this UserGroups.
date_added

Gets the date_added of this UserGroups. Date when the member is Added to the group

Added In: 2105200541

SCIM++ Properties:
  • multiValued: false
  • mutability: readOnly
  • required: false
  • returned: default
  • type: dateTime
  • uniqueness: none
Returns:The date_added of this UserGroups.
Return type:str
display

Gets the display of this UserGroups. A human readable name, primarily used for display purposes. READ-ONLY.

SCIM++ Properties:
  • idcsSearchable: false
  • multiValued: false
  • mutability: readOnly
  • required: false
  • returned: default
  • type: string
  • uniqueness: none
Returns:The display of this UserGroups.
Return type:str
external_id

Gets the external_id of this UserGroups. An identifier for the Resource as defined by the Service Consumer. READ-ONLY.

Added In: 2011192329

SCIM++ Properties:
  • idcsSearchable: false
  • multiValued: false
  • mutability: readOnly
  • required: false
  • returned: default
  • type: string
  • uniqueness: none
Returns:The external_id of this UserGroups.
Return type:str
membership_ocid

Gets the membership_ocid of this UserGroups. The membership OCID.

Added In: 2103141444

SCIM++ Properties:
  • idcsSearchable: true
  • multiValued: false
  • mutability: readOnly
  • required: false
  • returned: default
  • type: string
  • uniqueness: none
Returns:The membership_ocid of this UserGroups.
Return type:str
non_unique_display

Gets the non_unique_display of this UserGroups. A human readable name for Group as defined by the Service Consumer. READ-ONLY.

Added In: 2011192329

SCIM++ Properties:
  • idcsSearchable: false
  • multiValued: false
  • mutability: readOnly
  • required: false
  • returned: default
  • type: string
  • uniqueness: none
Returns:The non_unique_display of this UserGroups.
Return type:str
ocid

Gets the ocid of this UserGroups. The OCID of the User’s group.

Added In: 2102181953

SCIM++ Properties:
  • caseExact: true
  • idcsSearchable: true
  • multiValued: false
  • mutability: readOnly
  • required: false
  • returned: default
  • type: string
  • uniqueness: none
Returns:The ocid of this UserGroups.
Return type:str
ref

Gets the ref of this UserGroups. The URI of the corresponding Group resource to which the user belongs

SCIM++ Properties:
  • idcsSearchable: false
  • multiValued: false
  • mutability: readOnly
  • required: false
  • returned: default
  • type: reference
  • uniqueness: none
Returns:The ref of this UserGroups.
Return type:str
type

Gets the type of this UserGroups. A label indicating the attribute’s function; e.g., ‘direct’ or ‘indirect’.

SCIM++ Properties:
  • idcsSearchable: true
  • multiValued: false
  • mutability: readOnly
  • required: false
  • returned: request
  • type: string
  • uniqueness: none

Allowed values for this property are: “direct”, “indirect”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The type of this UserGroups.
Return type:str
value

[Required] Gets the value of this UserGroups. The identifier of the User’s group.

SCIM++ Properties:
  • caseExact: true
  • idcsSearchable: true
  • multiValued: false
  • mutability: readOnly
  • required: true
  • returned: always
  • type: string
  • uniqueness: none
Returns:The value of this UserGroups.
Return type:str