|
|
|
|
HDeleteGroup (Function) In french: HSupprimeGroupe
Available only with this kind of connection
Deletes (from the server) a group of users associated with a connection.
// Describe the connection HDescribeConnection("MyConnection", "Julia", "Password", "MyHFServer", ... "MyDatabase", hAccessHFClientServer, hORead) // Open the connection HOpenConnection("MyConnection") // Associate the data file with the connection HChangeConnection(Customer, "MyConnection") ... IF HDeleteGroup("MyConnection", "User1") = True THEN Info("User1 group deleted") END
Syntax
<Result> = HDeleteGroup(<Connection> , <Group>)
<Result>: Boolean - True if the group was deleted,
- False if an error occurred. HErrorInfo is used to identify the error.
Remark: HErrorInfo will return an "Unknown group" error if the current user has no rights to see the users ( hRightsSeeUser constant) and wants to delete another group.
<Connection>: Character string or Connection variable Connection for which a group must be deleted. This connection corresponds to: <Group>: Character string Name of group to delete.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|