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

 Syntax:
 bResult = FSGroupDelete( lpszGroupName )

 Parameters:
 lpszGroupName The group to delete.

 Returns:
 A boolean value (TRUE or FALSE).

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

 Description:
 FSGroupDelete() 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 ( FSGroupDelete( "ACCOUNTS" ) )
    ? "User Group ACCOUNTS has now been deleted"
 endif

 Notes:
 FSGroupDelete() 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 GrpUserDelete().
 You can get a list of the members of the group using GrpUserList().

 This function requires Supervisor equivalence.

See Also: FSGroupAdd() GrpUserAdd() GrpUserDelete() FSObjectList() GrpUserTest() GrpUserList()

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