Skip to main content

Roleassignmentdto

Properties

NameTypeDescriptionNotes
idstrAssignment Id[optional]
roleBasereferencedto[optional]
commentsstrComments added by the user when the assignment was made[optional]
assignment_sourcestrSource describing how this assignment was made[optional]
assignerRoleassignmentdtoAssigner[optional]
assigned_dimensions[]BasereferencedtoDimensions assigned related to this role[optional]
assignment_contextRoleassignmentdtoAssignmentContext[optional]
account_targets[]Roletargetdto[optional]
start_datedatetimeDate when assignment will be active, if access was requested with a future start date. If null, assignment is active immediately[optional]
remove_datedatetimeDate that the assignment will be removed[optional]
added_datedatetimeDate that the assignment was added[optional]
}

Example

from sailpoint.identities.models.roleassignmentdto import Roleassignmentdto

roleassignmentdto = Roleassignmentdto(
id='1cbb0705b38c4226b1334eadd8874086',
role=sailpoint.identities.models.base_reference_dto.Base Reference Dto(
type = 'IDENTITY',
id = '2c91808568c529c60168cca6f90c1313',
name = 'William Wilson', ),
comments='I'm a new Engineer and need this role to do my work',
assignment_source='UI',
assigner=sailpoint.identities.models.roleassignmentdto_assigner.roleassignmentdto_assigner(
type = 'IDENTITY',
id = '2c91808568c529c60168cca6f90c1313',
name = 'William Wilson', ),
assigned_dimensions=[{"id":"1acc8ffe5fcf457090de28bee2af36ee","type":"DIMENSION","name":"Northeast region"}],
assignment_context={"requested":{"contextAttributes":[{"attribute":"department","value":"Engineering","derived":false}]},"matched":[{"id":"e7697a1e96d04db1ac7b0f4544915d2c","type":"DIMENSION","name":"Engineer"}],"computedDate":"Wed Feb 14 10:58:42"},
account_targets=[
sailpoint.identities.models.role_target_dto.Role Target Dto(
source = sailpoint.identities.models.base_reference_dto.Base Reference Dto(
type = 'IDENTITY',
id = '2c91808568c529c60168cca6f90c1313',
name = 'William Wilson', ),
account_info = sailpoint.identities.models.account_info_dto.Account Info Dto(
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 = sailpoint.identities.models.base_reference_dto.Base Reference Dto(
id = '2c91808568c529c60168cca6f90c1313',
name = 'William Wilson', ), )
],
start_date='2026-07-10T18:45:37.098Z',
remove_date='2026-07-11T18:45:37.098Z',
added_date='2025-07-11T18:45:37.098Z'
)

[Back to top]