Application 2.5 Login
Creates an authentication context, which is required by every function to identify the user requesting an action.
Parameters
| Name | Type | Direction | Description |
|---|---|---|---|
| psApplicationName | String | In | The application name |
| psUserName | String | In | The name of the user |
| psPassword | String | In | Password for the user |
| psOutAuthContext | String | Out | The 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 thisLogincall. 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.5the 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 newWeb Services 2.5calls.
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.