Get SPFieldUserValueCollection value from ListItem in SharePoint
This is a way to get user from person/group field in sharepoint.
var item = workflowProperties.Item["Approvers"]; var users = (SPFieldUserValueCollection)workflowProperties.List.Fields["Approvers"].GetFieldValue(item.ToString());
No comments:
Post a Comment