Notes Property

The Notes property of the SPUser class gets or sets notes for the user.

Property Value

A string that contains the notes.

Remarks

To modify the notes for a user by setting the value of the Notes property, call the Update method to effect the changes in the database.

Example

The following code example modifies the notes for a specified user object.

This example requires using directives (Imports in Visual Basic) for both the Microsoft.SharePoint and Microsoft.SharePoint.WebControls namespaces.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security