Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Novlib 3.30 Online Reference - <b> usrconoprtst()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 UsrConOprTst()
------------------------------------------------------------------------------
 Purpose:
 Verify user is a console operator.

 Syntax:
 bResult = UsrConOprTst( lpszUserName )

 Parameters:
 lpszUserName The user name.

 Returns:
 A boolean value (TRUE or FALSE).

 Description:
 UsrConOprTst() tests to see if the user specified by lpszUserName is a
 member of the current file server's console operator list.

 Returns TRUE if successful and the specified user is a console operator and
 FALSE if not, or if an error occurs.

 Example:
 // To verify that user MATTHEW is a console operator on the
 // default file server:
 if ( UsrConOprTst( "MATTHEW" ) )
    ? "User MATTHEW is a console operator of server", FSNmeGet()
 endif

 Notes:
 UsrConOprTst() uses SetPrpIDTst() to test whether
 the user's bindery ID number appears in the OPERATORS property value of the
 file server.

 If FALSE is returned, check NWErrorGet().

See Also: UsrConOprSet() UsrConOprDel() UsrCurConOprTst() FSConOprLst() SetPrpIDAdd() SetPrpIDDel() SetPrpValGet() / SetPrpValSet()

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