import sailpoint.object.Filter;
import sailpoint.object.QueryOptions;
QueryOptions qOptions = new QueryOptions();
qOptions.addFilter(Filter.eq("workgroup",false));
int numberOfIdentities = context.countObjects(Identity.class, qOptions);
QueryOptions qOptions = new QueryOptions();
qOptions.addFilter(Filter.eq("workgroup",true));
int numberOfWorkGroups = context.countObjects(Identity.class, qOptions);
String message = "No of identities : "+numberOfIdentities+" No of workgroups : "+numberOfWorkGroups;
log.debug("message : "+message);
No comments:
Post a Comment