Skip to main content

Role

Properties​

NameTypeDescriptionNotes
idstrThe id for the Role[optional]
namestrThe name of the Role[optional]
descriptionstrInformation about the Role[optional]
privilegedboolDeprecated. Replaced by effectivePrivilege (HIGH, MEDIUM, LOW, NONE). Indicates if the role contains any access profiles that are privileged. Retained for backward compatibility.[optional] [default to False]
ownerIdentityReference[optional]
revocableboolIndicates whether the Role can be revoked or requested[optional] [default to False]
assignment_idstrthe ID of the role assignment[optional]
end_datedatetimeThe date when a user's access expires.[optional]
entitlements[]EntitlementReferenceA list of entitlement references associated to this Role.[optional]
access_profiles[]AccessProfileReferenceA list of access profile references associated to this Role.[optional]
}

Example​

from sailpoint.gov_certification.models.role import Role

role = Role(
id='2c91808a7190d06e0171993907fd0794',
name='Accounting-Employees',
description='Role for members of the accounting department with the necessary Access Profiles',
privileged=False,
owner=sailpoint.gov_certification.models.identity_reference.IdentityReference(
type = 'IDENTITY',
id = '5168015d32f890ca15812c9180835d2e',
name = 'Alison Ferguso',
email = 'alison.ferguso@identitysoon.com', ),
revocable=False,
assignment_id='2c91808a7190d06e0171993907fd0794',
end_date='2021-12-25T00:00Z',
entitlements=[
sailpoint.gov_certification.models.entitlement_reference.EntitlementReference(
id = '2c918085718230600171993742c63558',
name = 'CN=entitlement.bbb7c650',
description = 'Gives read/write access to the company database', )
],
access_profiles=[
sailpoint.gov_certification.models.access_profile_reference.AccessProfileReference(
id = '2c91808a7190d06e01719938fcd20792',
name = 'Employee-database-read-write',
description = 'Collection of entitlements to read/write the employee database', )
]
)

[Back to top]