Take a survey

Developing Applications Using APIs > Managing Users > Authenticating Users > Authenticating a user using the web service API

Authenticating a user using the web service API
To programmatically authenticate a user using the AuthenticationManagerService client web service API, perform the following tasks:
1.
2.
Create a AuthenticationManagerServiceService object by using your proxy class’ constructor.
3.
Invoke the AuthenticationManagerServiceClient object’s authenticate method and pass the following values:
A string object that contains the user’s name.
A byte array (a byte[] object) containing the user’s password. You can obtain the byte[] object by converting a string object containing the password to a byte[] array using the logic shown in the example below.
The returned value will be an AuthResult object, which can be used to retrieve information about the user. In the example below, the user’s information is retrieved by first obtaining the AuthResult object’s authenticatedUser field and subsequently obtaining the resultant User object’s canonicalName and domainName fields.
View Quick Start
 

 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/livecycle/es/sdkHelp/programmer/sdkHelp/manageUsersAuthenticateUsers.118.4.html