SPFieldUser constructor (SPFieldCollection, String)

Initializes a new instance of the SPFieldUser class based on the specified field collection and field name.

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

public SPFieldUser(
	SPFieldCollection fields,
	string fieldName
)

Parameters

fields
Type: Microsoft.SharePoint.SPFieldCollection

An SPFieldCollection object that represents the field collection in which to create the field.

fieldName
Type: System.String

A string that specifies the name of the field.

Show: