Skip to main content

RoleMembershipSelector

When present, specifies that the Role is to be granted to Identities which either satisfy specific criteria or which are members of a given list of Identities.

Properties

NameTypeDescriptionNotes
typeRoleMembershipSelectorType[optional]
criteriaRoleCriteriaLevel1[optional]
identities[]RoleMembershipIdentityDefines role membership as being exclusive to the specified Identities, when type is IDENTITY_LIST.[optional]
}

Example

from sailpoint.beta.models.role_membership_selector import RoleMembershipSelector

role_membership_selector = RoleMembershipSelector(
type='IDENTITY_LIST',
criteria=sailpoint.beta.models.role_criteria_level1.RoleCriteriaLevel1(
operation = 'EQUALS',
key = sailpoint.beta.models.role_criteria_key.RoleCriteriaKey(
type = 'ACCOUNT',
property = 'attribute.email',
source_id = '2c9180867427f3a301745aec18211519', ),
string_value = '[email protected]',
children = [
sailpoint.beta.models.role_criteria_level2.RoleCriteriaLevel2(
string_value = '[email protected]', )
], ),
identities=[
sailpoint.beta.models.role_membership_identity.RoleMembershipIdentity(
type = 'IDENTITY',
id = '2c9180a46faadee4016fb4e018c20639',
name = 'Thomas Edison',
alias_name = 't.edison', )
]
)

[Back to top]