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> usrsupervisorset()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 UsrSupervisorSet()
------------------------------------------------------------------------------
 Purpose:
 Set a user to a Supervisor.

 Syntax:
 bResult = UsrSupervisorSet( lpszUserName )

 Parameters:
 lpszUserName  The user to make Supervisor equivalent.

 Returns:
 A boolean value (TRUE or FALSE).

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

 Description:
 UsrSupervisorSet() makes the specified user lpszUserName Supervisor
 equivalent. UsrSupervisorSet() returns TRUE if successful.

 Returns FALSE, and NWErrorGet() returns the appropriate error value if an
 error occurs.

 Example:
 // To make user JOHN equivalent to the Supervisor:
 if ( UsrSupervisorSet( "JOHN" ) )
    ? "User JOHN is now Supervisor equivalent"
 endif

 Notes:
 It is not advisable to give a user Supervisor equivalence unless it
 is really needed. UsrSupervisorSet() adds the object ID of the Supervisor
 to the SECURITY_EQUALS set property value of the specified user and
 requires Supervisor equivalence.

See Also: UsrSupervisorDelete() UsrSupervisorTest() SetPropertyIDAdd() SetPropertyIDDelete() SetPropertyValueGet() / SetPropertyValueSet()

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