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>nnetvpass()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 NNETVPASS()
 Verifies a password for a bindery object
------------------------------------------------------------------------------
 Syntax

     NNETVPASS(<cName>,[<nType>],<cPass>,[<cServer>|
        <nConId>]) --> lSuccess

     Netware: 2.2 and 3.11

 Arguments

     <cName>  Designates the name of the bindery object that is
     processed.

     <nType>  Designates the object type of <cName>.  The header file
     CTNNET.CH contains symbolic constants for a number of object types.  The
     default value designates the object type OBJ_USER.

     <cPass>  Designates the password that is verified for <cName>.

     <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

     NNETVPASS() returns .T. if the password <cPass> and the password of
     <cName> in the bindery are identical.  If these passwords are not
     identical, the function returns .F..

 Description

     NOVELL NET VERIFY BINDERY OBJECT PASSWORD
     NNETVPASS() allows you to check to see if a character string matches the
     password of a bindery object.  For example, the function can be used to
     verify a user's password.

 Example

     Check to see if the password HONEY is valid for user JIM:

     IF NNETVPASS('JIM',,'HONEY')
     ? 'Valid password!'
     ELSE
     ? 'Invalid password!'
     ENDIF

See Also: NNETCPASS()

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