Try our conversational search powered by Generative AI!

How to check if user is logged from the backend ?

Vote:
 

Hello,

Is there a way to check if the current user is logged from the backend of EPi Server ?

Kind regards,

Loïc

#177518
Edited, Apr 13, 2017 16:50
Vote:
 

Do you mean logged in/authenticated?

In a controller you can check User.Identity.IsAuthenticated.

#177522
Apr 13, 2017 18:12
Vote:
 

@Loic, May I know the reason for your need to check like this?

#177629
Apr 14, 2017 16:17
Vote:
 

Yes, @Johan, that's what I meant, working well !

Thanks !

#177904
Apr 24, 2017 8:46
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.