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

 Syntax:
 bResult = UsrCurConsoleOperatorTest()

 Parameters:
 None.

 Returns:
 A boolean value (TRUE or FALSE).

 The CA-Clipper name for this function is:
 UsrCurConOprTst()

 Description:
 UsrCurConsoleOperatorTest() 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 ( UsrCurConsoleOperatorTest() )
    ? "I am a console operator of server", FSNameGet()
 endif

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

See Also: UsrConsoleOperatorSet() UsrConsoleOperatorTest() UsrConsoleOperatorDelete() FSConsoleOperatorList() SetPropertyIDAdd() SetPropertyIDDelete() SetPropertyValueGet() / SetPropertyValueSet()

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