Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds


  Asked By: Gustavo    Date: Apr 21    Category: Sharepoint    Views: 1148

can any one please tell me the procedure to obtain the user name
from NT authenctication window.



3 Answers Found

Answer #1    Answered By: Leeann Hull     Answered On: Apr 21

You need to used Context object in Object model using SPControl
that would give you current logged in user

Answer #2    Answered By: Vaasu Radhakrishna     Answered On: Apr 21

Using the Context object

string loginName = Context.User.Identity.Name;

Answer #3    Answered By: Brinda Bca     Answered On: Apr 21

I am new to sharepoint , please if any one reply to this group,please give
detailed answer to the questions..
now MONTAL please give some more detail...

Didn't find what you were looking for? Find more on username Or get search suggestion and latest updates.