Hi,
I'm trying to retrieve sharepoint user's job title and department in my web application.
I understand to retrieve username, something like the below is done.
SPWeb theSite = SPControl.GetContextWeb(Context); SPUser theUser = theSite.CurrentUser; string strUserName = theUser.LoginName;
Anyone knows how to retrieve job title and department?
Thanks!