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

 Syntax:
 bResult = FSGroupAdd( lpszGroupName )

 Parameters:
 lpszGroupName The group name.

 Returns:
 A boolean value (TRUE or FALSE).

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

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

 Description:
 FSGroupAdd() creates a new user group with the name specified by
 lpszGroupName to the file server.

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

 Example:
 // To create a group called STORES:
 if ( FSGroupAdd( "STORES" ) )
    ? "Group STORES has been successfully created"
 endif

 Notes:
 FSGroupAdd() creates a new object of type 2 and automatically
 creates SECURITY_EQUALS and GROUP_MEMBERS properties for it.

 Requires Supervisor equivalence.

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

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