GETCURRENTCOMPANY ER function
The GETCURRENTCOMPANY
function returns a String value that represents the code for the legal entity (company) that a user is currently signed in to.
Syntax
GETCURRENTCOMPANY ()
Return values
String
The resulting text value.
Example
GETCURRENTCOMPANY ()
returns USMF for a user who is signed in to the Contoso Entertainment System USA company.
Additional resources
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for