문제

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