Partager via


principal_actuel()

S’applique à : ✅Microsoft Fabric

Fournit le nom principal actuel qui exécute la requête.

Syntaxe

current_principal()

En savoir plus sur les conventions de syntaxe.

Retours

Nom complet du principal actuel (FQN) en tant que string.
Le format de chaîne est :
TypePrincipal=IDPrincipal;IDTenant

Exemples

L’exemple suivant retourne le nom du principal actuel.

print fqn=current_principal()

Sortie

fqn
aaduser=346e950e-4a62-42bf-96f5-4cf4eac3f11e ; 72f988bf-86f1-41af-91ab-2d7cd011db47