|
|
|
|
|
- Rights required to add a user group
- Rights management
<Connection variable>.AddGroup (Function) In french: <Variable Connexion>.AjouteGroupe
Available only with this kind of connection
MyConnection is Connection
MyConnection.User = "USER"
MyConnection.Password = "PASSWORD"
MyConnection.Server = "MYSERVER"
MyConnection.Database = "Database"
MyConnection.Provider = hAccessHFClientServer
MyConnection.Access = hORead
MyConnection.OpenConnection()
Customer.ChangeConnection(MyConnection)
HGroup.Name = "ADMIN2"
HGroup.Description = "Database administrators"
HGroup.Users = "Flo" + CR + "Julia"
IF MyConnection.AddGroup() = True THEN
Info("Group added")
END
Syntax
<Result> = <Connection>.AddGroup()
<Result>: Boolean - True if the group has been added,
- False if an error occurs. HError is used to identify the error.
<Connection>: Connection variable Name of the Connection variable that describes the connection to which the group of users must be added. Remarks Rights required to add a user group To add a user group, you must have the following rights: - Rights to manage the users (hRightsManageUser constant).
- Rights to see the users (hRightsSeeUser constant).
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|