NDvalue
Top  Previous  Next


Returns any Novell Directory account property from NDS path

The function returns nothing if the property is not found or if an error occurs. Check the log window for error messages.

Tip: use the Data.Get.ND command to extract multiple values for multiple objects at once.

Requirements
·NetWare client on the local machine, log on as admin  
·Novell controls  

NDValue (NDSpath, Property)
 
NDSpath
Full NDS path to account or object  
 
Property
Property to read  
 
The easiest way to get correct ND property names is probably to use SetupExplorer, see How to display all existing properties for one account.  

Example
Show full name for an account

Set
 FullName=NDValue (Elm\MyOrg\MyOU\ou2\acc022324,full name)
If "%FullName%"<> Then   
 MessageBox %FullName%   
Else   
 MessageBox Not found   
EndIf