Files
developer.sailpoint.com/docs/tools/sdk/python/Reference/V2024/Models/RoleAssignmentDto.md
2025-02-20 12:59:19 -05:00

4.0 KiB

id, title, pagination_label, sidebar_label, sidebar_class_name, keywords, slug, tags
id title pagination_label sidebar_label sidebar_class_name keywords slug tags
v2024-role-assignment-dto RoleAssignmentDto RoleAssignmentDto RoleAssignmentDto pythonsdk
python
Python
sdk
RoleAssignmentDto
V2024RoleAssignmentDto
/tools/sdk/python/v2024/models/role-assignment-dto
SDK
Software Development Kit
RoleAssignmentDto
V2024RoleAssignmentDto

RoleAssignmentDto

Properties

Name Type Description Notes
id str Assignment Id [optional]
role BaseReferenceDto1 [optional]
comments str Comments added by the user when the assignment was made [optional]
assignment_source str Source describing how this assignment was made [optional]
assigner BaseReferenceDto1 [optional]
assigned_dimensions []BaseReferenceDto1 Dimensions assigned related to this role [optional]
assignment_context AssignmentContextDto [optional]
account_targets []RoleTargetDto [optional]
remove_date str Date that the assignment will be removed [optional]
}

Example

from sailpoint.v2024.models.role_assignment_dto import RoleAssignmentDto

role_assignment_dto = RoleAssignmentDto(
id='1cbb0705b38c4226b1334eadd8874086',
role=sailpoint.v2024.models.base_reference_dto_1.BaseReferenceDto_1(
                    id = 'ff8081814d977c21014da056804a0af3', 
                    name = 'Github', ),
comments='I'm a new Engineer and need this role to do my work',
assignment_source='UI',
assigner=sailpoint.v2024.models.base_reference_dto_1.BaseReferenceDto_1(
                    id = 'ff8081814d977c21014da056804a0af3', 
                    name = 'Github', ),
assigned_dimensions=[{id=1acc8ffe5fcf457090de28bee2af36ee, type=DIMENSION, name=Northeast region}],
assignment_context=sailpoint.v2024.models.assignment_context_dto.AssignmentContextDto(
                    requested = sailpoint.v2024.models.access_request_context.AccessRequestContext(
                        context_attributes = [
                            sailpoint.v2024.models.context_attribute_dto.ContextAttributeDto(
                                attribute = 'location', 
                                value = Austin, 
                                derived = False, )
                            ], ), 
                    matched = [
                        sailpoint.v2024.models.role_match_dto.RoleMatchDto(
                            role_ref = sailpoint.v2024.models.base_reference_dto_1.BaseReferenceDto_1(
                                id = 'ff8081814d977c21014da056804a0af3', 
                                name = 'Github', ), 
                            matched_attributes = [
                                sailpoint.v2024.models.context_attribute_dto.ContextAttributeDto(
                                    attribute = 'location', 
                                    derived = False, )
                                ], )
                        ], 
                    computed_date = 'Wed Feb 14 10:58:42', ),
account_targets=[
                    sailpoint.v2024.models.role_target_dto.RoleTargetDto(
                        source = sailpoint.v2024.models.base_reference_dto_1.BaseReferenceDto_1(
                            id = 'ff8081814d977c21014da056804a0af3', 
                            name = 'Github', ), 
                        account_info = sailpoint.v2024.models.account_info_dto.AccountInfoDto(
                            native_identity = 'CN=Abby Smith,OU=Austin,OU=Americas,OU=Demo,DC=seri,DC=acme,DC=com', 
                            display_name = 'Abby.Smith', 
                            uuid = '{ad9fc391-246d-40af-b248-b6556a2b7c01}', ), 
                        role_name = 'Marketing', )
                    ],
remove_date='Wed Feb 14 10:58:42'
)

[Back to top]