HInfoGroup (Function) In french: HInfoGroupe
Available only with this kind of 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") ... // Find the characteristics of a group Res is boolean Res = HInfoGroup("MyConnection", "Test_Group") IF Res = True THEN Trace("Structure of the group updated") Trace("Name of the group: " + HGroup.Name) Trace("Description of the group: " + HGroup.Description) Trace("Users of the group: " + HGroup.Users) END
Syntax
<Result> = HInfoGroup(<Connection> , <Group>)
<Result>: Boolean - True if the information regarding the group was read,
- False if an error occurred. HErrorInfo is used to identify the error.
Remark: An "Unknown group" error will be returned by HErrorInfo if the current user has no rights to see the users ( hRightsSeeUser constant). These rights can be defined using HModifyServerRights.
<Connection>: Character string or Connection variable Connection to use. This connection corresponds to: <Group>: Character string Name of group of users to manage.
This page is also available for…
|
|
|
|