سؤال

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?

هل كانت مفيدة؟

المحلول

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

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top