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
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.
The password that corresponds to the given user name.
The Password must be a base64 encoded UTF8 string.
The host name of the Client Automation manager to which the method should attempt to connect.
Return Values
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 = "--------"
|
Copyright © 2014 CA Technologies.
All rights reserved.
|
|