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> fsgrpdel()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 FSGrpDel()
------------------------------------------------------------------------------
 Purpose:
 Delete a group from the file server.

 Syntax:
 bResult = FSGrpDel( lpszGroupName )

 Parameters:
 lpszGroupName The group to delete.

 Returns:
 A boolean value (TRUE or FALSE).

 Description:
 FSGrpDel() deletes a group specified by lpszGroupName from the
 file server.

 Returns TRUE if successful, or FALSE if an error occurs.

 Example:
 // To delete group ACCOUNTS from the file server:
 if ( FSGrpDel( "ACCOUNTS" ) )
    ? "User Group ACCOUNTS has now been deleted"
 endif

 Notes:
 FSGrpDel() deletes all the group's properties, including the
 GROUP_MEMBERS property. What it DOES NOT do is check all the GROUPS_I'M_IN
 properties of the users and delete this group from them. When you delete a
 group you must first delete all the users from it using GrpUsrDel().
 You can get a list of the members of the group using GrpUsrLst().

 This function requires Supervisor equivalence.

See Also: FSGrpAdd() GrpUsrAdd() GrpUsrDel() FSObjLst() GrpUsrTst() GrpUsrLst()

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