This is an example of getting the List of MdPermissionInfo instances for a single Identity.
try
{
CMetadata object; // any SAS CMetadata object type will work here (your code must fill this in)
MdAuthorizationUtil authUtil = object.getAuthorizationUtil();
Identity identity; // Some Identity object (probably from the List returned by Example 2.
List <String>permissions = null; // Indicate to get all applicable Permissions for the object
List <MdPermissionInfo>permInfoList = authUtil.getAuthorizations(identity, permissions);
}
catch (MdException e)
{
e.printStackTrace();
}
catch (RemoteException e)
{
e.printStackTrace();
}