Hi there !
I was able to successfully implement the use of my business application as part of DNN v.07.04.02: I have a page with an iFrame module containing a link to my business application hosted on the same server. I use DNN authorization, and in the application I can get the username using Thread.CurrentPrincipal.Identity.Name, because I use Single Sign On (SHARED AUTHENTICATION).
The question is: can I access DNN objects of the current session such as UserInfo, etc., from my application? For example, I would like to get a link to a photo from a user's profile in my application.
Thanks !
Oleg,
welcome to the DNN Community!
This should be possible using the Web API. I am not a specialist for that, but you should find enough documentation here: https://dnndocs.com/
Happy DNNing! Michael
Posted By Michael Tobisch on 07 Oct 2020 08:40 AM Oleg, welcome to the DNN Community! This should be possible using the Web API. I am not a specialist for that, but you should find enough documentation here: https://dnndocs.com/ Happy DNNing! Michael
Thanks, Michael, I'll try to solve my task via Web API. Looks very similar to use RESTfull web-services.
Oleg.
These Forums are for the discussion of the open source CMS DNN platform and ecosystem.
For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:
Awesome! Simply post in the forums using the link below and we'll get you started.