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> grpnmechg()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 GrpNmeChg()
------------------------------------------------------------------------------
 Purpose:
 Change a group name.

 Syntax:
 bResult = GrpNmeChg( lpszOldName, lpszNewName )

 Parameters:
 lpszOldName The old name of the group.
 lpszNewName The new name of the group.

 Returns:
 A boolean value (TRUE or FALSE).

 Description:
 GrpNmeChg() renames an existing user group from its old name,
 specified by lpszOldName to a new name specified by lpszNewName.

 Returns TRUE if successful or FALSE if an error occurs.

 Example:
 // To rename user group ACCOUNTS to PAYROLL:
 if ( GrpNmeChg( "ACCOUNTS", "PAYROLL" ) )
    ? "User group ACCOUNTS is now called PAYROLL"
 endif

 Notes:
 This function retains all membership information, and simply
 renames the title given to the group.

 This function may require Supervisor equivalence, depending on the security
 level of the group.

See Also: ObjNmeChg() FSGrpAdd() FSGrpDel() GrpUsrLst()

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