User profile for Webaccess
How to obtain the logged in user profile from webaccess while working with web clients in AppWorks platform
Comments
-
Hi Anup,
There is the Profile API reference, which lacks some crucial information.
I found some more:
Profile Resources
/profile/<username>
Get = get information for the selected user.
Input
Parameter: csoken (String), required. Session token.
Output
Return Value: username (String)
Return Value: email (String)
Return Value: userID (String)
Return Value: fullname (String)
Return Value: firstName (String)
Return Value: lastName (String)Example
GET /profile/
Input
GET /profile/ajewell?cstoken=abc123
Response
{ "login": "ajewell", "email": "ajewell@opentext.com", "userID": "4634", "fullName": "Alex Jewell", "firstName": "Alex", "lastName": "Jewell" }
I hope that is what you are looking for.
Werner
0 -
CStoken is not in general necessary, but otagtoken is (cstoken is for systems using Content Server instead of OTDS for identity).
Please see this article for instructions on passing auth information with your requests.
0
Categories
- All Categories
- 111 Developer Announcements
- 49 Articles
- 104 General Questions
- 123 IM Services
- 40 OpenText Hackathon
- 31 Developer Tools
- 20.6K Analytics
- 4.1K AppWorks
- 8.9K Extended ECM
- 897 Cloud Fax and Notifications
- 77 Digital Asset Management
- 9.3K Documentum
- 29 eDOCS
- 123 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 1 XM Fax