SP.Utilities Namespace

Applies to: SharePoint Foundation 2010

Provides a subset of types and members in the Microsoft.SharePoint.Utilities namespace for encoding strings, for working with security principals, and for performing specific utilities tasks.

Classes

The following table lists classes in the SP.Utilities namespace that are supported for public use in Microsoft SharePoint Foundation.

Name

Description

DateUtility

Provides static methods for working with dates.

HttpUtility

Provides access to methods used to encode and decode strings during the processing of web requests.

PrincipalInfo

Provides access to information about a principal.

Utility

Provides tools for converting date and time formats, for obtaining information from user names, for modifying access to sites, and for various other tasks in managing deployment.

Enumerations

Name

Description

DateTimeFormat

Specifies the date and time format.

IconSize

Specifies the icon size.

PrincipalSource

Specifies the source of a principal.

PrincipalType

Specifies the type of a principal.