current_principal()
Returns the current principal name that runs the query.
Syntax
current_principal()
Learn more about syntax conventions.
Returns
The current principal fully qualified name (FQN) as a string
.
The string format is:
PrinciplaType=
PrincipalId;
TenantId
Example
print fqn=current_principal()
Example output
fqn |
---|
aaduser=346e950e-4a62-42bf-96f5-4cf4eac3f11e;72f988bf-86f1-41af-91ab-2d7cd011db47 |
This capability isn't supported in Azure Monitor
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om