Contact.FromSharePointUserString(String, SPWeb) Contact.FromSharePointUserString(String, SPWeb) Contact.FromSharePointUserString(String, SPWeb) Method

Definition

Gets a Contact object, given a SharePoint user string.

public:
 static Microsoft::Office::Workflow::Utility::Contact ^ FromSharePointUserString(System::String ^ strId, Microsoft::SharePoint::SPWeb ^ web);
public static Microsoft.Office.Workflow.Utility.Contact FromSharePointUserString (string strId, Microsoft.SharePoint.SPWeb web);
Public Shared Function FromSharePointUserString (strId As String, web As SPWeb) As Contact
Parameters
strId
String String String

SharePoint user string, for example, "1;# ".

web
SPWeb SPWeb SPWeb

The Web site to look for the user.

Returns

A Contact object for the user.

Remarks

For an example of how to use some of the members in the Contact class, see the example in ExpandGroups method.

Applies to