开发者

sharepoint field createdby matches which property of AD

As a requirement i开发者_StackOverflow中文版m using sharepoint object model and trying to compare "Created By" field of a List Item with the Current User Logged on.

My Question is :

If the Same user who has created the item logged on

Does Web.CurrentUser.LoginName = Created By Matches?? or anyother active directory property that matches with Created By

Please help me on this

Thanks in advance


To my knowledge, System.Web.HttpContext.Current.User.Identity.Name should match the CreatedBy property.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜