How do I get LDAP user information for logged in user into my MATLAB WebApp?
I have a WebApp server (Windows, R2022a) running a couple of apps, and it is behind LDAP authentication. When a user logs in, I can see that the user information is stored somewhere within the server because the correct username appears in the upper right corner of the main MATLAB WebApp server screen. What I would like to do is access that information inside my app. Is there a MATLAB command within the app that can access the logged in user? I tried:
user = compiler.UserInfo()
but all the fields were empty.
Thank you!
-GregI have a WebApp server (Windows, R2022a) running a couple of apps, and it is behind LDAP authentication. When a user logs in, I can see that the user information is stored somewhere within the server because the correct username appears in the upper right corner of the main MATLAB WebApp server screen. What I would like to do is access that information inside my app. Is there a MATLAB command within the app that can access the logged in user? I tried:
user = compiler.UserInfo()
but all the fields were empty.
Thank you!
-Greg I have a WebApp server (Windows, R2022a) running a couple of apps, and it is behind LDAP authentication. When a user logs in, I can see that the user information is stored somewhere within the server because the correct username appears in the upper right corner of the main MATLAB WebApp server screen. What I would like to do is access that information inside my app. Is there a MATLAB command within the app that can access the logged in user? I tried:
user = compiler.UserInfo()
but all the fields were empty.
Thank you!
-Greg ldap, webapp server MATLAB Answers — New Questions