filecataloger.com > Script > Function -- AddUsergroup

AddUsergroup Function

Remarks:
Create a user group under the specific catalog group and return it
Syntax:

Set ug = AddUsergroup(UserGroupName, ParentGroup)

Arguments:
Name Description
UserGroupName the new user group's name.
ParentGroup the specific catalog parent group.
 
return value:
Value Description
ug the new user group
example:

Dim DBPath
DBPath = "c:\sample.fdb"

CreateDB(DBPath)
OpenDB(DBPath)

Set ug = AddUsergroup("UserGroup1", CatalogDB.CatalogRoot)

If IsOK Then MsgBox "The execution of AddUsergroup Function is successful!"

   
See Also:
©2008 Greendgh Software. All rights reserved. Privacy statement