Sun Directory Server Enterprise Edition 7.0 Developer's Guide

Returns

This function returns the first value in the attribute converted to an unsigned long. The function returns 0 if the entry does not contain the attribute specified.