This function takes the following parameters:
Parameter block passed into this function.
Entry for which you want to check the access rights.
Attribute for which you want to check the access rights.
Pointer to the berval structure containing the value for which you want to check the access rights.
Type of access rights that you want to check. For example, to check for write access, pass SLAPI_ACL_WRITE as the value of this argument.
The value of the access argument can be one of the following:
Permission to add a specified entry.
Permission to compare the specified values of an attribute in an entry.
Permission to delete a specified entry.
Permission to read a specified attribute.
Permission to search on a specified attribute or value.
Permission to write a specified attribute or value or permission to rename a specified entry.