Script functions reference > Script functions in alphabetical order > L > LdapGetAttrValueCount

LdapGetAttrValueCount
Syntax
LdapGetAttrValueCount(entryID, attrName);
entryID 
attrName
Description
Returns the number of values of a specific attribute on an entry.
Returns
num
-1
Example
$num=LdapGetAttrValueCount($theuser,"mail");
In this example, the number of values associated with the mail attribute of the entryID (theuser) is stored in the num variable.
OpenText StreamServe 5.6 Updated: 2013-03-01