WebSite X5Help Center

 
Paweł P.
Paweł P.
User

Obtaining an Email Address from the website X5 Access Control System  pl

Autor: Paweł P.
Visited 579, Followers 1, Udostępniony 0  

Hello, I want to integrate my own php services with the WebSite X5 engine, but I need access from the WebSite X5 authorization system, but I don't know how to get the email address of the logged in user from it.

Posted on the
3 ODPOWIEDZI - 1 POMOCNY - 1 PRAWIDłOWA ODPOWIEDź
John S.
John S.
User

Instead of username use email

Czytaj więcej
Posted on the from John S.
John S.
John S.
User

If you put this:

<?php
$pa = new imPrivateArea();
$user = $pa->who_is_logged();
echo $user['email'];
?>

in a html-object on a locked page, you should see the email address of the user logged in.

Czytaj więcej
Posted on the from John S.