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>nnetname()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 NNETNAME()
 Determines the user name for an internal netaddress
------------------------------------------------------------------------------
 Syntax

     NNETNAME(<cInterNetAdr>,[<cServer>|<nConId>]) --> cUser

     Netware: 2.2 and 3.11

 Arguments

     <cInterNetAdr>  Designates a 20-character string containing a 10-
     character hexadecimal byte sequence.  Two characters represent one byte
     in hexadecimal form.  The leading eight characters of <cInterNetAdr>
     (four byte) indicate the network number of <cUser>.  The remaining 12
     characters (six byte) contain the station ID of <cUser> (number of the
     network adapter, Node Address).

     <cServer> Designates the name of the file server that is used.  Your
     workstation must be attached to <cServer>.

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

 Returns

     NNETNAME() returns the name of the user that is logged in with the
     internet address, <cInterNetAdr>.  The function returns an empty string
     if the user cannot be determined.

 Description

     NOVELL NET NAME
     NNETNAME() allows you to determine the name of a user with an internal
     netaddress and can be used in conjunction with the SPX functions of the
     Point to Point communication.  Functions like SPXCONTARG() always return
     the communication's destination as an internet address.  If both the
     current station and the station specified by <cInterNetAdr> are logged
     in on <cServer>, NNETNAME() allows you to determine the user name of a
     passed internet address.

 Example

     Determine the destination's user name of an SPX session:

     ? NNETNAME(SPXCONTARG(nHandle))

See Also: NNETSTAID() SPXCONTARG()

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