|
|
|
|
|
HInfoUser (Function)
Disponible solo con este tipo de conexión
Updates the user management variables with the information regarding the specified user. For security reasons, the user password is not retrieved.
HDescribeConnection("MyConnection", "Julia", "Password", "MyHFServer", "MyDatabase", ...
hAccessHFClientServer, hORead)
HOpenConnection("MyConnection")
HChangeConnection(Customer, "MyConnection")
IF HInfoUser("MyConnection", "Flora") = True THEN
Info("The user characteristics are as follows" + CR + ...
"Login: " + HUser.Login + ...
"Full name: " + HUser.FullName + ...
"Email: " + HUser.Email)
END
Sintaxis
<Result> = HInfoUser(<Connection> , <User>)
<Result>: Boolean - True if the structure for managing the users was updated,
- False if an error occurs. HErrorInfo is used to identify the error.
Note: An "Unknown user" error will be returned by function HErrorInfo if the current user does not have user view rights (constant hViewRightUser). These rights can be defined using HModifyServerRights.
<Connection>: Character string or Connection variable Connection for which the user information must be retrieved. This connection corresponds to: <User>: Character string Name of the user for whom the information must be retrieved. This name must correspond to the HUser.Login variable for one of the users of the specified connection.
Esta página también está disponible para…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|