Share via


FieldUserValue.FromUser method

Creates a user field value from the user's name or email.

Namespace:  Microsoft.SharePoint.Client
Assembly:  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
Public Shared Function FromUser ( _
    userName As String _
) As FieldUserValue
'Usage
Dim userName As String
Dim returnValue As FieldUserValue

returnValue = FieldUserValue.FromUser(userName)
public static FieldUserValue FromUser(
    string userName
)

Parameters

Return value

Type: Microsoft.SharePoint.Client.FieldUserValue
Returns FieldUserValue.

See also

Reference

FieldUserValue class

FieldUserValue members

Microsoft.SharePoint.Client namespace