开发者

sharepoint field createdby matches which property of AD

开发者 https://www.devze.com 2023-03-06 16:49 出处:网络
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.

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

精彩评论

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