To log a user on to an application, use the following HFMwManageApplications component methods:
Pass the user’s domain name, username, and password to SetLogonInfoSSO.
Pass the application server cluster name and the application name to OpenApplication.
The example for OpenApplication shows how to log a user on.
OpenApplication returns an object reference to the HFMwSession object. You will need the HFMwSession object reference to use most of the other components in the Web object model. These components have a SetWebSession method that associates the component with the HFMwSession object that represents a user connection to an application. |
Other Useful Methods for Logging On
EnumClusterNames returns the names of the clusters that have been registered for the Web server.
EnumApplicationNames returns the names of the Financial Management applications on a given application server cluster.