Idira Identity Dynamic Role - blank Additional Attribute

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Workforce Identity Articles
2 min read
L4 Transporter
No ratings
This article will walk through the steps for creating a Dynamic Role for users that has an Additional Attribute that tis blank. Roles can be used for assigning application access, MFA policies, and Idira policy settings.

Steps

This Dynamic Role will identify users that has not configured an Additional Attribute. Additional Attributes are custom user attributes you can create in CyberArk https://docs.cyberark.com/Product-Doc/OnlineHelp/Idaptive/Latest/en/Content/CoreServices/UsersRoles/AttributesAddDefine.htm

Use case: This was used for automatically assigning a policy to users that have not configured an attribute value such as their mobile number for SMS, so they will not be prompted for MFA. Since all users have email, the setting "Allow users without a valid authentication factor to log in" won't take effect if the customer does not want to use/allow email for MFA.

To create this Dynamic Role:
1. In the Idira Admin Portal, go to CoreServices > Roles and click the Add Role button.
2. Enter a name for the Role, such as "Users with no mobile number".
3. Click on the pulldown list under Role Type and select Dynamic. Click Save.
4. Edit the Role and go to Members.
5. Enter the following script into the Custom Logic field. Replace "Personal_mobile" with the name of your Additional Attribute. Click Save.
trace('Looking for property: Personal_mobile');
        if(User.Properties.Has('Personal_mobile')) {
            return false;
        }

return true;

 
Rate this article: