Export (0) Print
Expand All

Utility methods

The Utility type exposes the following members.

  Name Description
Public method Static member CreateEmailBodyForInvitation Creates the contents of the e-mail used to invite users to a document or resource in a site.
Public method Static member CreateNewDiscussion
Public method Static member CreateNewDiscussionReply
Public method Static member CreateWikiPageInContextWeb
Public method Static member FormatDateTime
Public method Static member GetAppLicenseDeploymentId Returns the deployment ID for the SharePoint deployment.
Public method Static member GetAppLicenseInformation Returns a collection of all the app licenses assigned to the current user for the specified app for SharePoint in the given SharePoint deployment.
Public method Static member GetCurrentUserEmailAddresses Returns the e-mail address and mobile e-mail address of the current user. When no mobile e-mail address is specified, returns only the e-mail address. Otherwise, returns the e-mail address and mobile e-mail address separated by a semi-colon.
Public method Static member GetLocalizedString
Public method Static member GetLowerCaseString
Public method Static member GetPeoplePickerURL
Public method Static member GetUserPermissionLevels
Public method Static member ImportAppLicense Imports the specified test license into the specified SharePoint deployment for app testing purposes.
Public method Static member IsEmailServerSet
Public method Static member IsUserLicensedForEntityInContext
Public method Static member LocalizeWebPartGallery
Public method Static member LogCustomAppError Reports custom errors from SharePoint-hosted components of apps for SharePoint.
Public method Static member LogCustomRemoteAppError Reports custom errors from remote components of cloud-hosted apps for SharePoint.
Public method Static member MarkDiscussionAsFeatured
Public method Static member ResolvePrincipal Returns information about a principal that matches the specified search criteria. If no matches are found, the server must return NULL.
Public method Static member SearchPrincipals Returns the collection of principals that partially or uniquely match the specified search criteria.
Public method Static member SendEmail
Public method Static member UnmarkDiscussionAsFeatured
Top
Show:
© 2014 Microsoft