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

 Syntax:
 bResult = FSGrpAdd( lpszGroupName )

 Parameters:
 lpszGroupName The group name.

 Returns:
 A boolean value (TRUE or FALSE).

 Description:
 FSGrpAdd() 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 ( FSGrpAdd( "STORES" ) )
    ? "Group STORES has been successfully created"
 endif

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

 Requires Supervisor equivalence.

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

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