Closed
Solved
How to get Windows Login User name and Email?
Hi,
Is it possible to get the currently signed in user and his email?
Thanks
Hi,
Is it possible to get the currently signed in user and his email?
Thanks
Accepted Solution
You can get the username from the CurrentUser component in the ToolBox, you will have to write a script to get the email address.
The script is as follows
First add a reference to System.DirectorySrvices.AccountManagement, use the GAC button to access this reference.
Then add the following script
You can get the username from the CurrentUser component in the ToolBox, you will have to write a script to get the email address.
The script is as follows
First add a reference to System.DirectorySrvices.AccountManagement, use the GAC button to access this reference.
Then add the following script
Thanks a lot! It worked!!
Good to hear. Thanks for letting me know.
Question Solved
Question
Question
Question
Question
Question
Question
Question
Question Solved
Question
Pega Collaboration Center has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.