Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper Tools . Book 4-Appendices - <b>nnetobjnam()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 NNETOBJNAM()
 Determines the object name of an object ID
------------------------------------------------------------------------------
 Syntax

     NNETOBJNAM(<NId>, [<cServer>|<nConId>]) --> cObjName

     Netware: 2.2 and 3.11

 Arguments

     <NId>  Designates a bindery object ID.  For efficiency reasons, the
     ID must be passed in the high-low format (see the Introduction to this
     chapter).

     <cServer>  Designates the name of the file server for which the
     bindery is accessed.  Your workstation must be attached to <cServer>.

     <nConId>  Designates the connection ID of your workstation on
     <cServer>.

 Returns

     NETOBJNAM() returns the name of the bindery object, specified by <NId>.
     If an error occurs, the function returns a null string.

 Description

     NOVELL NET OBJECT NAME
     Within a file server, each bindery object is given a unique object ID
     with a length of four bytes.  With NNETOBJNAM(), you can determine the
     name of the related bindery object.  NNETOBJNAM() can be used in
     conjunction with functions that return an object ID in the high-low
     format (for example, NNETRDSET()).

 Example

     Read the property SECURITY_EQUALS of user MIKE, and return the object
     names of the members (the SECURITY_EQUALS property contains a list of
     objects to which an object is security-equivalent):

     #include "ctnnet.ch"

     aIn=NNETRDSET('MIKE',OBJ_USER,'SECURITY_EQUALS')
     FOR i=1 TO LEN(aIn)
     ?  NNETOBJNAM(aIn[i])
     NEXT i

See Also: NNETOBJTYP() NNETRDSET()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson