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

 Syntax:
 bResult = UsrSupSet.( lpszUserName )

 Parameters:
 lpszUserName  The user to make Supervisor equivalent.

 Returns:
 A boolean value (TRUE or FALSE).

 Description:
 UsrSupSet.() makes the specified user lpszUserName Supervisor
 equivalent. UsrSupSet.() 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 ( UsrSupSet.( "JOHN" ) )
    ? "User JOHN is now Supervisor equivalent"
 endif

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

See Also: UsrSupDel() UsrSupTst() SetPrpIDAdd() SetPrpIDDel() SetPrpValGet() / SetPrpValSet()

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