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> usrsupervisortest()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 UsrSupervisorTest()
------------------------------------------------------------------------------
 Purpose:
 Verify that a user is a Supervisor.

 Syntax:
 bResult = UsrSupervisorTest( lpszUserName )

 Parameters:
 lpszUserName  The user name.

 Returns:
 A boolean value (TRUE or FALSE).

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

 Description:
 UsrSupervisorTest() tests to see if the user specified by lpszUserName
 has Supervisor equivalence.

 Returns TRUE if so and FALSE if not or if an error occurs.

 Example:
 // To test whether user MANDY is security equivalent to the Supervisor:
 if ( UsrSupervisorTest( "MANDY" ) )
    ? "User MANDY is security equivalent to the Supervisor"
 endif

 Notes:
 If FALSE is returned check NWErrorGet().

See Also: UsrSupervisorSet() UsrSupervisorDelete() SetPropertyIDAdd() SetPropertyIDDelete() SetPropertyValueGet() / SetPropertyValueSet() SetPropertyIDTest()

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