Previous Topic: LoginNext Topic: Base64 Encoding Algorithm


Login2

The Login2 method authenticates and obtains authorization from the Client Automation manager. This method expects the UserName and Password to be a base 64 encoded UTF-8 string.

Parameters

xsd:string userName (m)

The name of a valid user account that has permission to authenticate with the Client Automation manager.The UserName needs to be a base64 encoded UTF8 string.

xsd:string password (m)

The password that corresponds to the given user name.

The Password must be a base64 encoded UTF8 string.

xsd:string manager (m)

The host name of the Client Automation manager to which the method should attempt to connect.

Return Values

xsd:string LoginReturn

A unique session ID to use as an input parameter for all further calls to the web service.

Remarks

This method obtains a connection to the manager and creates a web service session, returning the session ID for further web service calls.

Windows and Linux credentials:

Windows

url: http://<machine address>/UDSM_R11_WebService/mod_gsoap.dll

User : winnt://<machine address>/<userName>

Password : <password>

Manager :<dsmmanagername>

Linux

URL : http:// <Completemachine address >/UDSM_R11_WebService

User : unixl:// <Completemachine address >/<userName>

Password : <password>

Manager :<dsmmanagername>

For linux, the complete machine address should be given including the domain name.

Example

On Windows

URL = http://acme.xyz.com/UDSM_R11_WebService/mod_gsoap.dll

userId = winnt://acme/testUser

password = "--------"

serverName =acme

On Linux

URL = http://acme.xyz.com/UDSM_R11_WebService

userId = unixl:///acme.xyz.com/root

password = "--------"