SPWeb web = SPControl.GetContextWeb(Context); SPUser sUser = web.CurrentUser;
This blog is to share my some sharepoint 2010 experience with you. very recently i have to contribute new sharepoint 2010 project n i hav learn a lot from that project, most of the source code in this blog are used in project.
Tuesday, June 21, 2011
How to get current user information - sharepoint 2010
There so many ways to get the user data in sharepoint . here below shown one of the simple and eazy method.
Subscribe to:
Posts (Atom)