only a Yes or No answer needed..

D

dixieee

hi all,

I really hope to get the help I need from here cz I tried to many msgboards,
discussion groups, blogs, and u name it...but never got any answer (not even
a reply!!).

anyways, the scenario is that we have a sharepoint for the company's
intranet and we're using infopath forms. is there a way to get the username
to be filled automatically in a form from the user's log-in name (since
they're already logged-on)? like the user opens the form and his username is
filled automatically in a field then all his/her info are imported from a
database. i just need the answer is it possible or not?

thanx a dozen
 
S

Shailaja

Hello,
Yes we can get logged in User Information by using
System.Environment.UserName

Hope this helps!
 
Top