Logged in UserName for Infopath

F

Franck Dauché

Hi,

Did you try to use: System.Environment.username in C#.

Regards,

Franck Dauché
 
K

Kallu

Thanks Frank for the Reply

But if my Infopath Form is published to a forms library in sharepoint and
its being used as an extranet, how can i get the logged on user for
shareponint which would be different from the System.Environment.UserName

Is it possible to capture the logged on user for sharepoint?

-Regards
 
Top