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> usrcurconoprtst()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 UsrCurConOprTst()
------------------------------------------------------------------------------
 Purpose:
 Verify current user is a console operator.

 Syntax:
 bResult = UsrCurConOprTst()

 Parameters:
 None.

 Returns:
 A boolean value (TRUE or FALSE).

 Description:
 UsrCurConOprTst() tests to see if the current logged console operator
 on the current file server.

 Returns TRUE if successful and the current 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 ( UsrCurConOprTst() )
    ? "I am a console operator of server", FSNmeGet()
 endif

 Notes:
 If FALSE is returned, check NWErrorGet().

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

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