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
This content is closed to future replies and is no longer being maintained or updated.
Links may no longer function. If you have a similar request, please write a new post.
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
Question
Question Solved
Question
Question
Question
Question Solved
Question Solved
Question
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.