|
|
|
|
- Rights required to modify a group
- Rights management
HModifyGroup (Function) In french: HModifieGroupe
Available only with this kind of connection
// Describe the connection HDescribeConnection("MyConnection", "Julia", "Password", "MyHFServer", "MyDatabase", ... hAccessHFClientServer, hORead) // Open the connection HOpenConnection("MyConnection") ... // Modify the members of the group HGroup.Users = "Flo" + CR + "Julia" + CR + "Luke" // Modify the group IF HModifyGroup("MyConnection", "TESTERS") = True THEN Info("Group modified") END
Syntax
<Result> = HModifyGroup(<Connection> , <Group>)
<Result>: Boolean - True if the group was modified,
- False if an error occurred. HError is used to identify the error.
<Connection>: Character string or Connection variable Connection for which a group must be modified. This connection corresponds to: <Group>: Character string Name of the group whose characteristics must be modified. Remarks Rights required to modify a group To modify a group (other than the group of the current user), you must have the rights to view users (hRightsSeeUser constant). Otherwise, HModifyGroup will return False and an "Unknown group" error message will appear. To modify the name of a group, you must have the rights to see the users (hRightsSeeUser constant) and the rights to manage the users (hRightsManageUser constant). Rights management The following function are used to grant rights to a group:
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|