Pre-Iterate Rule :
Labels
- AD
- Aggregation
- Audit Management
- AWS
- Certification
- Compass_Useful_Links
- Courses
- Custom Reports
- Custom Tasks
- Database (OIM)
- Database (Sailpoint)
- E-Fix
- Excel
- Forgerock
- Forms
- Group Management
- IIQ Console Commands
- IQ Service
- Java
- Kanada
- LCM
- Linux
- Loggers
- MS Office
- MySQL
- Notifications
- OIM
- Password Management
- Policy Violation
- Provisioning
- ProvisioningPlan
- Quicklink
- RBAC
- References
- Repo Update
- Role Management
- Rules_Scripts_APIs
- Sailpoint
- Sailpoint API's
- SailPoint Best Practices
- SailPoint IIQ
- Scripts
- Softwares
- SSB
- UAT
- UI
- Upgradation
- VM Ware
- Web Service
- Workflow
- Workgroup
Friday, July 22, 2022
Connector Rules
Aggregation Rules
Correlation Rule :
Monday, July 18, 2022
How to check user exist in specific group or not?
import sailpoint.object.Filter;
import sailpoint.object.Identity;
import sailpoint.object.IdentityEntitlement;
import sailpoint.object.QueryOptions;
import sailpoint.tools.GeneralException;
public boolean checkUserENT(String userID, String entValue, String appName) throws GeneralException{
boolean addEntExist = false;
QueryOptions qo = new QueryOptions();
Filter filter = Filter.and(Filter.eq("identity.id", id), Filter.eq("value",entValue), Filter.eq("application.name", appName));
qo.addFilter(filter);
int countObjects = context.countObjects(IdentityEntitlement.class, qo);
if(countObjects > 0){
addEntExist = true;
}
String appName = "Active Directory";
String entValue = "CN="IdentityIQ, OU=Groups, DC=mightypedia,DC=com";
String user = ""Mary.Johnson;
String userID = context.getObjectByName(Identity.class, user).getId();
boolean checkENT = checkUserENT(userID , entValue ,appName );
return checkENT ;
}
Sunday, July 17, 2022
How to convert role from one role to another role?
//Conversion of role from one type to another type & making the roles into inheritance::: -
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE Rule PUBLIC "sailpoint.dtd" "sailpoint.dtd">
<Rule language="beanshell" name="Convert-Role">
<Source>
import sailpoint.object.Bundle;
import sailpoint.object.Filter;
import sailpoint.object.Identity;
import sailpoint.object.QueryOptions;
import sailpoint.tools.Util;
import sailpoint.api.IncrementalObjectIterator;
List listofRoles = new ArrayList();
Bundle container = context.getObjectByName(Bundle.class,"Legacy-Birthright-Roles");
listofRoles.add(container);
QueryOptions qo = new QueryOptions();
qo.addFilter(Filter.eq("type", "IT"));
//qo.addFilter(Filter.eq("name", "Contractor_BusinessRole"));
IncrementalObjectIterator iterator = new IncrementalObjectIterator(context, Bundle.class,qo);
while (iterator != null && iterator.hasNext()) {
Bundle bundle = iterator.next();
// bundle.setType("birthright");
bundle.setInheritance(listofRoles);
context.saveObject(bundle);
context.commitTransaction();
context.decache();
}
Util.flushIterator(iterator);
</Source>
</Rule>
Fetch Members from Workgroup
import java.util.ArrayList; import java.util.Iterator; import java.util.List; import sailpoint.api.ObjectUtil; import sailpoint.ob...
-
1. Configure the Manager Quicklink population to allow account only requests. a. Navigate to ===> Global Settings ===> Quicklink Pop...
-
import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import sailpoint.object.Bundle;...