Sun Java System Calendar Server 6 2005Q4 Developer's Guide

Function: CEXP_GenerateLoginURL

Purpose

Returns a login URL with a valid session ID for a given user.

Syntax

int CEXP_GenerateLoginURL (char * pszUser,
                           char * pszClientAddress,
                           char * pszCalendarHost,
                           char * pszURL);

Parameters

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

Returns 0 on success, -1 on failure. On success, the pszURL buffer contains a valid URL string.