This is an example of getting the Identity objects for permissions set on a SAS Java CMetadata object.
try
{
CMetadata object; // any SAS CMetadata object type will work here (your code must fill this in)
MdAuthorizationUtil authUtil = object.getAuthorizationUtil();
List <Identity>identities = authUtil.getIdentities();
}
catch (MdException e)
{
e.printStackTrace();
}
catch (RemoteException e)
{
e.printStackTrace();
}