Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting userid of current connection
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00767275
Message ID:
00767327
Vues:
13
>>It's SYSTEM_USER
>
>Sergey,
>
>Thanks for the clarification. Is it System_User because it will also return the Windows logon name if Win authentication is used, whereas Current_User would not?
>
Hi Jon,

With Windows Authentication it'll return DOMAIN\user_login_name, otherwise SQL Server login name. CURRENT_USER, which is equivalent to USER_NAME(), returns database user name which depends on user rights in the current database.
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform