Documentation Center

Application 2.5 Login

Creates an authentication context, which is required by every function to identify the user requesting an action.


Parameters

NameTypeDirectionDescription
psApplicationNameStringInThe application name
psUserNameStringInThe name of the user
psPasswordStringInPassword for the user
psOutAuthContextStringOutThe authentication context

Requirements are:
  • An application, like for example ISHCM, indirectly indicates the location of the database for the App/Web server you are accessing through this Login call. One App/Web server can host multiple applications all using the same components but each having their own settings and database.
  • A user name.
  • The password of the user. Note that in previous Web Services versions the password was trimmed. So, the password " test " became "test". Starting from Web Services 2.5 the password is no longer trimmed. If your old password was set using a previous Web Service call, you have to trim the password before supplying it to the new Web Services 2.5 calls.
Note that:
  • Disabled users cannot log in
  • This function can only be used for internal users which have a password specified. For external authenticated users you have to use Authenticate.