다음을 통해 공유


SP.Utilities.Utility Methods

Applies to: SharePoint Foundation 2010

The following table lists the methods of the SP.Utilities.Utility class.

Methods

Name

Description

createEmailBodyForInvitation

Gets the external (outside the firewall) URL to a document or resource in a site.

createNewDiscussion

Gets a new discussion item.

createNewDiscussionReply

Gets a new reply to a discussion item.

formatDateTime

This member is reserved for internal use and is not intended to be used directly from your code.

getCurrentUserEmailAddresses

Gets the email and mobile email addresses of the current user.

getImageUrl

Gets the URL of the specified image.

getLayoutsPageUrl

Gets the URL for the specified page.

getLocalizedLayoutsPageUrl

Gets the URL to the localized version of the specified page.

resolvePrincipal

Gets information about a principal that matches the specified Search criteria.

searchPrincipals

Gets information about the principals that match the specified Search criteria.

Utility

This member is reserved for internal use and is not intended to be used directly from your code.

Applies To

SP.Utilities.Utility Class

See Also

Reference

SP.Utilities Namespace