Check whether an attribute may be virtual.
#include "slapi-plugin.h" int slapi_vattr_is_registered(const char *attrtype, const char *scopendn);
This function takes the following parameters:
Attribute type to check
Base of the scope to check
This function checks whether a virtual attribute service is registered for the attribute type in the scope specified.
The fact that a virtual attribute service is registered for an attribute type does not guarantee that the service can currently provide a value.
This functions returns 1 if the attribute may be virtual in the scope specified. Otherwise, it returns 0.