To log a user on to an application, use the following HsxClient methods:
Pass the user’s domain name, username, and password to SetLogonInfoSSO.
Pass the cluster name and the application name to OpenApplication.
OpenApplication returns an object reference to the HsvSession object, which provides properties for obtaining object references to several other objects. For more information, see HsvSession Object Properties. |
The example for OpenApplication shows how to log a user on.
The HsxClient UI object provides another way to log a user on. HsxClient exposes various Financial Management dialog boxes, including those used to enter logon credentials and open applications. For an example that shows how to programmatically use these dialog boxes, see the example for HsxClientUI.OpenApplication. |
Other Useful Methods for Logging On
HsxClient.EnumRegisteredClusterNames returns the names of the clusters or application servers that have been registered for a client.
HsxServer.EnumDataSources returns the names of the applications on a given cluster or application server.