Condividi tramite


SPFieldUserValue Members

Include Protected Members
Include Inherited Members

Contains the value for an SPFieldUser object.

The SPFieldUserValue type exposes the following members.

Constructors

  Name Description
Public method SPFieldUserValue() Initializes a new instance of the SPFieldUserValue class.
Public method SPFieldUserValue(SPWeb) Initializes a new instance of the SPFieldUserValue class based on the specified Web site.
Public method SPFieldUserValue(SPWeb, String) Initializes a new instance of the SPFieldUserValue class based on the specified Web site and field value.
Public method SPFieldUserValue(SPWeb, Int32, String) Initializes a new instance of the SPFieldUserValue class based on the specified Web site, lookup ID, and lookup value.

Top

Properties

  Name Description
Public property LookupId Gets or sets the identifier (ID) of the lookup field. (Inherited from SPFieldLookupValue.)
Public property LookupValue Gets the value of the user field as a string. (Overrides SPFieldLookupValue.LookupValue.)
Public property SipAddress Gets the Session Initiation Protocol (SIP) address of the user.
Public property User Gets the user that is associated with the field value.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString Returns the name of the Lookup field. (Inherited from SPFieldLookupValue.)

Top

See Also

Reference

SPFieldUserValue Class

Microsoft.SharePoint Namespace