Class AccountsWithoutRoles
- java.lang.Object
-
- com.identityworksllc.iiq.common.moveleave.AccountsWithoutRoles
-
public class AccountsWithoutRoles extends Object
A helper for Leaver triggers that can find accounts from a set of applications that are not associated with any role assignments.
-
-
Constructor Summary
Constructors Constructor Description AccountsWithoutRoles(sailpoint.api.SailPointContext context, Set<String> applicationNames)Constructor for AccountsWithoutRoles.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<LinkRef>getAccountsWithoutRoles(sailpoint.object.Identity target)Get a list of accounts that are not associated with any role assignments for the target identity.
-
-
-
Constructor Detail
-
AccountsWithoutRoles
public AccountsWithoutRoles(sailpoint.api.SailPointContext context, Set<String> applicationNames)
Constructor for AccountsWithoutRoles.- Parameters:
context- The SailPointContext to use for the operations.applicationNames- A set of application names to check against.
-
-
Method Detail
-
getAccountsWithoutRoles
public List<LinkRef> getAccountsWithoutRoles(sailpoint.object.Identity target) throws sailpoint.tools.GeneralException
Get a list of accounts that are not associated with any role assignments for the target identity.- Parameters:
target- The target identity to check against.- Returns:
- A list of
LinkRefobjects representing accounts without roles. - Throws:
sailpoint.tools.GeneralException- If an error occurs while retrieving the accounts.
-
-