Question

I have an ektron application in which I need to get the detailed information of a user who is currently logged in. I want the information such as username, email, display name, user id etc. How can I do this using ektron api?

Was it helpful?

Solution

Use the Framework API. Take a look at:

Ektron.Cms.Framework.Context.UserContextService.Current

This will give you everything you're asking for. Here's a screenshot of the properties I have available to me in a v8.7 installation. Should be available all versions v8.5 and up. http://screencast.com/t/TcSdTySH9R

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top