Returns a login URL with a valid session ID for a given user.
int CEXP_GenerateLoginURL (char * pszUser, char * pszClientAddress, char * pszCalendarHost, char * pszURL);
pszUser |
A string containing the user name. |
pszClientAddress |
A string containing the client host IP-address. |
pszCalendarHost |
A string containing the hostname (no IP-address) of the calendar server. |
pszURL |
A pointer to a buffer to place the URL |
Returns 0 on success, -1 on failure. On success, the pszURL buffer contains a valid URL string.