Answered by:
Where is the domain\username from O365 username()

Question
-
In SharePoint 2013 (AD login), I could get from the domain\username from username() e.g.(a:1#.b|domain\username)
in O365 there is no domain anymore only email
the login looks like: .(a:1#.b|membership|fname.lname@abc.com)
Is there a way to find the domain, any workaround?
- Moved by Dave PatrickMVP Friday, May 29, 2020 3:29 PM looking for forum
Friday, May 29, 2020 3:26 PM
Answers
-
I'd try asking for help over here.
https://techcommunity.microsoft.com/t5/office-365/ct-p/Office365
Regards, Dave Patrick ....
Microsoft Certified Professional
Microsoft MVP [Windows Server] Datacenter Management
Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.- Proposed as answer by Guido Franzke Tuesday, June 2, 2020 6:43 AM
- Marked as answer by Guido Franzke Friday, June 5, 2020 6:01 AM
Friday, May 29, 2020 3:29 PM
All replies
-
I'd try asking for help over here.
https://techcommunity.microsoft.com/t5/office-365/ct-p/Office365
Regards, Dave Patrick ....
Microsoft Certified Professional
Microsoft MVP [Windows Server] Datacenter Management
Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.- Proposed as answer by Guido Franzke Tuesday, June 2, 2020 6:43 AM
- Marked as answer by Guido Franzke Friday, June 5, 2020 6:01 AM
Friday, May 29, 2020 3:29 PM -
Thank you.Friday, May 29, 2020 5:34 PM
-
You're welcome.
Regards, Dave Patrick ....
Microsoft Certified Professional
Microsoft MVP [Windows Server] Datacenter Management
Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.Friday, May 29, 2020 5:48 PM