checkObjectPermissions() Method
In SecurityService, use the checkObjectPermissions() method to validate the user's permission to the specified object.
Signature
public Boolean[] checkObjectPermissions(String objectAbsolutePath, ArrayOfString privileges, String userID, String password);
Parameters for checkObjectPermissions() Method
Parameter | Description |
---|---|
String objectAbsolutePath |
The absolute path to the object. |
ArrayOfString privileges |
A list of privilege names. |
String userID |
The user ID of the user. |
String password |
The password of the user. |