SPUtility Class

Definition

public ref class SPUtility abstract sealed
[Microsoft.SharePoint.Client.ClientCallableType(Name="Utility", ServerTypeId="{16f43e7e-bf35-475d-b677-9dc61e549339}")]
[Microsoft.SharePoint.Client.SubsetCallableType]
public static class SPUtility
type SPUtility = class
Public Class SPUtility
Inheritance
SPUtility
Attributes
ClientCallableTypeAttribute SubsetCallableTypeAttribute

Fields

AccessDeniedPage
AppPrincipalQueryParameter
AppSourceRedirectPageName
AppTitleQueryParameter
AuthenticatePage
CompatibilityLevel15
ConfirmationPageId
ConfirmationPageText
CustomXslAttribute
DEFAULT_ROOTWEB_MASTERPAGE_GALLERY_URL
ErrorCorrelationId
ErrorHelpKey
ErrorHelpLinkText
ErrorID
ErrorIsDetailsShown
ErrorLinkNavigateUrl
ErrorLinkTextID
ErrorPage
ErrorText
ErrorTitle
IEditableSiteMapProviderEditMode
IEditableSiteMapProviderRequireDataRefresh
IEditableSiteMapProviderStartingNodeUrl
ImagesVersion
ImagesVersionStr
MaxLeafNameLength
MaxUserAccountNameLength
MaxUserLogonLength
PostSourceUriQueryParameter
RequestHdrNoLinkOnErrPage
SiteRelativeUrlPrefix
SourceQueryParameter
strTRUE
SuccessPage
WebRelativeUrlPrefix

Properties

ContextCompatibilityLevel
ContextControlTemplatesFolder
ContextImagesRoot
ContextLayoutsFolder
CurrentThemeFolderName
DefaultSiteIconFileName
DeveloperDashboardIsEnabled
IsCompatibilityLevel15Up
LAYOUTS_LATESTVERSION
OriginalServerRelativeRequestPath
OriginalServerRelativeRequestUrl
RELATIVE_LAYOUTS_LATESTVERSION

Methods

AddCellStoragePartition(SPContentDatabase, String)
AddDefaultWikiContent(SPList)
AllItemsQuery(String)
AlternateServerUrlFromHttpRequestUrl(Uri)
AutoHyperlinking(String)
BinarySearchWithFallback<T>(IList<T>, T, IComparer, Boolean)
ChangeAccountPassword(SPWeb, String, String, String)
CheckForCustomToolpane(String)
ConcatUrls(String, String)
ConvertDateTimeToJavaScriptTimeStamp(DateTime)
ConvertHtmlLinkToWikiLink(String, SPList)
ConvertHtmlLinkToWikiLink(String, String)
ConvertSPRightsToSPBasePermissions(SPRights)
ConvertWikiLinkToHtmlLink(String, SPList)
ConvertWikiLinkToHtmlLink(String, String)
CreateDateTimeFromISO8601DateTimeString(String)
CreateDateTimeFromSqlString(String)
CreateEmailBodyForInvitation(String)
CreateISO8601DateTimeFromSystemDateTime(DateTime)
CreateNewDiscussion(SPList, String)
CreateNewDiscussion(SPListItemCollection, String)
CreateNewDiscussion_Client(Guid, String)
CreateNewDiscussionReply(SPListItem)
CreateNewWikiPage(SPList, String)
CreateParentFoldersForFile(SPList, String, Boolean)
CreateSystemDateTimeFromXmlDataDateTimeFormat(String)
CreateThreadIndex(String, DateTime)
CryptSafeEquals(String, String)
DetermineRedirectUrl(String, SPRedirectFlags, HttpContext, String, String)
DoesFieldSupportIsRelationship(SPFieldLookup)
DumpTypes(Assembly)
EnsureAuthentication()
EnsureAuthentication(SPWeb)
EnsureSessionCredentials(SPSessionCredentialsFlags)
EnsureSiteAdminAccess(SPWeb)
ExecuteCobaltRequest(Stream, SPFile, QuotaLimits)
ExecuteProxyOperation(String, String, SPProxyOperationArgs)
ExecuteRegisteredProxyOperation(String, String, SPProxyOperationArgs)
FastUrlSubsumes(Uri, Uri)
FastUrlSubsumes(Uri, Uri, Boolean)
FIsFatalException(Exception)
FIsProcessCriticalException(Exception)
FlushIISToken()
FormatAccountName(String)
FormatAccountName(String, String)
FormatDate(SPWeb, DateTime, SPDateFormat)
FormatSize(Int64)
FormatStringWithListType(String, SPList)
FormatStringWithListType(String, SPList, Boolean)
GetAcceptHeaderExtensions(SPWeb)
GetAccountName(String)
GetAllAuthenticatedUsers(SPWeb)
GetAppLicenseDeploymentId()
GetAppLicenseInformation(Guid)
GetBinaryUserId(String)
GetCalendarYearMax(Int32)
GetCalendarYearMin(Int32)
GetControlTemplatesFolder(SPSite)
GetCurrentGenericSetupPath(String)
GetCurrentUserEmailAddresses()
GetDefaultCompatibilityLevel(SPWebApplication, SPSiteSubscription)
GetDisplayUserName(String)
GetExampleDateFormat(SPWeb, String, String, String)
GetExpandedWeeks(HttpRequest)
GetFullNameandEmailfromLogin(SPGlobalAdmin, String, String, String)
GetFullNameandEmailfromLogin(SPWeb, String, String, String)
GetFullNameFromLogin(SPGlobalAdmin, String)
GetFullNameFromLogin(SPSite, String)
GetFullNameFromLoginEx(SPSite, String, Boolean)
GetFullNameFromLoginEx(String, Boolean)
GetFullUrl(SPSite, String)
GetGenericSetupPath(String)
GetGuidFromShortGuid(String)
GetHtmlTranslateUrlFromExt(SPWeb, String, String)
GetIdentifierFromEmail(SPWeb, String)
GetImageUrlWithRevision(String)
GetIncorrectUIVersionMessage(Boolean)
GetLayoutsFolder(SPSite)
GetLayoutsFolder(SPWeb)
GetListGuid(SPWeb, String)
GetLocalizedString(String, String, UInt32)
GetLoginNameFromEmail(SPSite, String)
GetMarketplaceServiceUrl()
GetMasterPageOverride(HttpContext)
GetMimeTypeFromExtension(String)
GetNewIdPrefix(HttpContext)
GetNonAdminGlobalSettings(SPSite, String)
GetNTFullNameandEmailfromLogin(SPGlobalAdmin, String, String, String)
GetNTFullNameandEmailfromLogin(SPWeb, String, String, String)
GetOfficeStoreAppsDefaultActivation(SPWeb)
GetPageUrlPath(HttpContext)
GetParentControl(Control, Type)
GetPeoplePickerURL(SPWeb, SPFieldUser)
GetPrincipalsInGroup(SPWeb, String, Int32, Boolean)
GetProviderName(String)
GetRequestAccess(SPWeb, SPObjectType, String)
GetRoleDefinitionFromLegacyWebGroupId(SPRoleDefinitionCollection, Int32)
GetSelectedDate(HttpRequest, SPWeb)
GetSelectedDateFromSource(HttpRequest, SPWeb, Boolean)
GetSelectedTime(HttpRequest)
GetSelectedTimeFromSource(HttpRequest, Boolean)
GetServerFileRedirectForLinking(SPWeb, String, String)
GetServerNow(SPWeb)
GetServerRelativeUrlFromPrefixedUrl(String)
GetShortGuid(Guid)
GetShortId(String, Control)
GetSPListFromName(SPContext, SPWeb, Guid, String, String, String)
GetSPListFromName(SPWeb, Guid, String, String, String)
GetThemedImageUrl(String, String)
GetTimeSpanFromTimeZone(SPTimeZone)
GetTopEntitlement(SPAppLicenseCollection)
GetUploadedSolutionOp(SPSite, String, String)
GetUrlDirectory(String)
GetUrlFileName(String)
GetUserKeyFromUserName(String)
GetV3SecurePassword(SPProcessIdentity)
GetVersionedGenericSetupPath(String, Int32)
GetVersionedLocalizedString15(String, String, UInt32)
GetViewType(HttpRequest)
GetWebContentIndexingTimestamps(SPWeb)
GetWebLayoutsFolder(SPWeb)
GregorianISOToIntlISODate(SPWeb, String, Int32)
GuessLoginNameFromEmail(SPSite, String)
HandleAccessDenied(Exception)
HasSharedAccess(Guid)
HexStringToByteArray(String)
HexStringToLong(String)
HtmlTransProgID(String)
ImportAppLicense(String, String, String, String, Uri, String, Int32)
IsBuiltInFieldDisallowingUniqueness(Guid)
IsClientValid(Page)
IsCurrentUserSiteAuditor(SPWebApplication, SPUrlZone)
IsDesignTimeRender()
IsEastAsia(SPWeb, UInt32)
IsEmailFollowLinkEnabled(SPWeb)
IsEmailServerSet(SPWeb)
IsInitialContentForStartPage(HttpContext, Boolean)
IsLoginValid(SPGlobalAdmin, String)
IsLoginValid(SPGlobalAdmin, String, Boolean)
IsLoginValid(SPSite, String)
IsRightToLeft(SPWeb, UInt32)
IsSaveConflictException(Exception)
IsSearchRequest(HttpRequest)
IsSetupPathVersioned(String)
IsUplevelBrowser(HttpContext)
IsUserLicensedForEntityInContext(String)
IsValidStringInput(String, String)
LocalizeWebPartGallery(SPListItemCollection)
LogCustomAppError(String)
LogCustomRemoteAppError(Guid, String)
MakeBrowserCacheSafeLayoutsUrl(String, Boolean)
MakeBrowserCacheSafeLayoutsUrl(String, Boolean, Int32)
MakeBrowserCacheSafeScriptResourceUrl(String)
MapToApp(SPWeb, String, String)
MapToControl(SPWeb, String, String)
MapToIcon(SPWeb, String, String)
MapToIcon(SPWeb, String, String, IconSize)
MapToServerFileRedirect(SPWeb, String, String)
MapToServerFileRedirect(SPWeb, String, String, Int32)
MapWebToIcon(SPWeb)
MapWebURLToVirtualServerURL(SPWeb, String)
MarkDiscussionAsFeatured(String, String)
ObjectToGuid(Object)
ParseDate(SPWeb, String, SPDateFormat, Boolean)
ParseDate(SPWeb, String, String, Boolean)
ParseSqlType(String)
ProvisionWikiPageHomePageWithSiteFeed(SPFile, WebPart)
RebaseUri(Uri, Uri, Uri)
Redirect(String, SPRedirectFlags, HttpContext)
Redirect(String, SPRedirectFlags, HttpContext, String)
RedirectToErrorPage(String, String, String, Uri, Boolean, HttpContext)
RedirectValidate(String, HttpContext)
RedirectValidate(String, SPWeb)
RemoveRevisionFromImageUrl(String)
ReplaceEmbeddedPrefixedUrlsWithServerRelativeUrls(String)
ReplaceEmbeddedPrefixedUrlsWithServerRelativeUrls(String, Boolean)
ResolvePrincipal(SPWeb, String, SPPrincipalType, SPPrincipalSource, SPUserCollection, Boolean)
ResolvePrincipal(SPWebApplication, Nullable<SPUrlZone>, String, SPPrincipalType, SPPrincipalSource, Boolean)
ResolvePrincipal_Client(SPWeb, String, SPPrincipalType, SPPrincipalSource, SPUserCollection, Boolean)
ResolveWindowsPrincipal(SPWeb, SPWebApplication, String, SPPrincipalType, Boolean)
ResolveWindowsPrincipal(SPWebApplication, String, SPPrincipalType, Boolean)
SearchPrincipals(SPWeb, String, SPPrincipalType, SPPrincipalSource, SPUserCollection, Int32, Boolean)
SearchPrincipals(SPWebApplication, Nullable<SPUrlZone>, String, SPPrincipalType, SPPrincipalSource, Int32, Boolean)
SearchWindowsPrincipals(SPWebApplication, String, SPPrincipalType, Int32, Boolean)
SendAccessDeniedHeader(Exception)
SendEmail(SPWeb, Boolean, Boolean, String, String, String)
SendEmail(SPWeb, Boolean, Boolean, String, String, String, Boolean)
SendEmail(SPWeb, StringDictionary, String)
SendEmail(SPWeb, StringDictionary, String, Boolean)
SendRequestAccessToOwner(SPWeb, SPObjectType, String, String)
SendUpgradeAvailableNotification(SPSite)
SetEmailFollowLinkEnabled(SPWeb, Boolean)
SetEventReceiverToSynchronous(SPSite, String, String, SPEventReceiverType)
SetThreadCulture(CultureInfo, CultureInfo)
SetThreadCulture(SPWeb)
ShouldUpdateHomePageWithSiteFeed(SPWeb)
StopRequestIfClientIsNotValid(Page)
StringToUInt64(String)
TestVss()
TimeDeltaAsString(DateTime, DateTime)
TransferToErrorPage(String)
TransferToErrorPage(String, String, String)
TransferToSuccessPage(String)
TransferToSuccessPage(String, String, String, String)
TransferToSuccessPage(String, String, String, String, String, Boolean)
TryGetLanguageAndRegionSettingsEditorUrl(SPUser, SPWeb, String, Uri)
TryGetStringFromBinaryUserId(Byte[], Exception)
UnmarkDiscussionAsFeatured(String, String)
UrlSubsumes(Uri, Uri, Boolean)
ValidateDatabaseConnectionString(SPGlobalAdmin, String, String, String, String)
ValidateFormDigest()

Applies to