This is an example of how to get the MdAuthorizationUtil interface for a SAS Java CMetadata object. The MdAuthorizationUtil interface provides object-level authorization management methods.
try
{
CMetadata object; // any SAS CMetadata object type will work here (your code must fill this in)
MdAuthorizationUtil authUtil = object.getAuthorizationUtil();
}
catch (MdException e)
{
e.printStackTrace();
}
catch (RemoteException e)
{
e.printStackTrace();
}