|
|
|
|
- Rights required to modify a group
- Rights management
<Connection variable>.ModifyGroup (Function) In french: <Variable Connexion>.ModifieGroupe
Available only with this kind of connection
// Describe the connection MyConnection is Connection  // Open the connection MyConnection.OpenConnection() ... // Modify the members of the group HGroup.Users = "Flo" + CR + "Julia" + CR + "Luke" // Modify the group IF MyConnection.ModifyGroup("TESTERS") = True THEN Info("Group modified") END
Syntax
<Result> = <Connection>.ModifyGroup(<Group>)
<Result>: Boolean - True if the group was modified,
- False if an error occurred. HError is used to identify the error.
<Connection>: Connection variable Name of the Connection variable that describes the connection for which a group must be modified. <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, <Connection variable>.ModifyGroup 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…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|