Utility members
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.
The Utility type exposes the following members.
Methods
Name | Description | |
---|---|---|
CreateEmailBodyForInvitation | Creates the contents of the e-mail used to invite users to a document or resource in a site. | |
CreateNewDiscussion | ||
CreateNewDiscussionReply | ||
CreateWikiPageInContextWeb | ||
FormatDateTime | ||
GetAppLicenseDeploymentId | Returns the deployment ID for the SharePoint deployment. | |
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. | |
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. | |
GetLocalizedString | ||
GetLowerCaseString | ||
GetPeoplePickerURL | ||
GetUserPermissionLevels | ||
ImportAppLicense | Imports the specified test license into the specified SharePoint deployment for app testing purposes. | |
IsEmailServerSet | ||
IsUserLicensedForEntityInContext | ||
LocalizeWebPartGallery | ||
LogCustomAppError | Reports custom errors from SharePoint-hosted components of SharePoint Add-ins. | |
LogCustomRemoteAppError | Reports custom errors from remote components of cloud-hosted SharePoint Add-ins. | |
MarkDiscussionAsFeatured | ||
ResolvePrincipal | Returns information about a principal that matches the specified search criteria. If no matches are found, the server must return NULL. | |
SearchPrincipals | Returns the collection of principals that partially or uniquely match the specified search criteria. | |
SendEmail | ||
UnmarkDiscussionAsFeatured |
Top