Friday, June 20, 2014

To Read Field User Id and Name using Sharepoint 2013 Client Object Model

FieldUserValue[] AssignedToUserDetail = item["AssignedTo"] as FieldUserValue[];
String AssignedToUserID = AssignedToUserDetail[0].LookupId;
String AssignedToName = AssignedToUserDetail[0].LookupValue;


No comments: