Forum Discussion
Deleted
Mar 27, 2020Current login user from modern sharepoint online page
Current login user from modern sharepoint online page ?
- Sudharsan KSteel ContributorHi,
As of now its not possible via out-of-box. Maybe you can add a script editor web part, add the code to replace the control with the current logged in the user info. Then, save the page as a template and then create a new page using that template.- Deleted
I have added my script in code snipped webpart but it is not working. after re publishing page it shows only code.
there is no script editor webpart available on modern UI.
- Sudharsan KSteel ContributorHi,
Please refer the below article on script editor for modern page.
https://medium.com/niftit-sharepoint-blog/add-the-script-editor-webpart-back-to-sharepoint-modern-experience-688a7b7208e4