开发者

Get logged in user details in sharepoint c# webpart

开发者 https://www.devze.com 2022-12-31 09:20 出处:网络
After much wran开发者_运维技巧gling I have a development environment for building sharepoint webparts in c#.

After much wran开发者_运维技巧gling I have a development environment for building sharepoint webparts in c#.

I'm completely new to SP development, so I haven't quite found the various API docs, so I'm hoping someone can help get me started.

Eventually, I want to write a simple web part that allows its user to display different content depending on who the current user is.

What I'd like to do first though is just build a dead simple webpart that will simply print out the current user's details - username, full name and any permissions groups that they have.

Thanks


SPContext.Current.Web.CurrentUser

0

精彩评论

暂无评论...
验证码 换一张
取 消