MPUtility Methods |
The MPUtility type exposes the following members.
Name | Description | |
---|---|---|
BulkLoadTags(String, Guid, IEnumerableString) | ||
BulkLoadTags(String, Guid, IEnumerableString, Int32) | ||
CreateDocument(String, String, String, String, Boolean) | Creates a document based on a given document template in the default Shared Document library. | |
CreateDocument(String, String, String, String, String, Boolean) | Creates a document based on a given document template. | |
EncodeHtml(Object) | Encodes the specified object for HTML, converting special characters to quoted UTF-8 format. | |
EncodeHtml(String) | Encodes the specified string for HTML, converting special characters to quoted UTF-8 format. | |
EncodeScript(Object) | Encodes the specified object for use in a script. | |
EncodeScript(String) | Encodes the specified string for use in a script. | |
EncodeUrl(Object) | Encodes the specified object for use in an URL, converting special characters to quoted UTF-8 format. | |
EncodeUrl(String) | Encodes the specified string for use in an URL, converting special characters to quoted UTF-8 format. | |
EscapeBdcFilter | Escapes the '*' wildcard character within the specified string. | |
EscapeLikeWildcards | Escapes the like wildcard characters (% and _) within the specified string. Use this method to escape SharePoint search like terms and Model like terms | |
EscapeSpecialChars | Escapes all occurrences of the specified special characters within the provided string. Special characters will be escaped with the provided escape character. | |
EscapeSql | Escapes single quotes within the specified string. | |
FindAccounts | Returns users or groups matching the given search text. The behavior of the search is dependant on the current authentication provider. | |
FindListInAncestors | Starts at the specified web and bubbles up its ancestors searching for the list by title. Returns null if the list isn't found. | |
FindTags(Guid, String, TagSearchMode) | Returns a collection of tags for the specified parent tag, name and search mode. | |
FindTags(Tag, String, TagSearchMode) | Returns a collection of tags for the specified parent tag, name and search mode. | |
GetMatchPointInformationalVersion | Returns the installed MatchPoint version and the hash of the corresponding commit. | |
GetMatchPointInstanceUrl | Returns the MatchPoint Instance URL of the instance associated with the current web application. | |
GetMatchPointVersion | Returns the installed MatchPoint version. | |
GetNextId(String) | Returns the next number of the specified number range. If the number range does not exist, it will be created and initialized with 0. | |
GetNextId(String, Int32) | Returns the next number of the specified number range. If the number range does not exist, it will be created and initialized with the given start number. | |
GetRelativeDateString(DateTime) | Returns the time span between now and the given local time in the past as a text representation. | |
GetRelativeDateString(DateTime, SPTimeZone) | Returns the time span between now and the given local time in the past as a text representation. | |
GetRunningWorkflowInstances | Returns all workflow instances for the specified workflow configuration. If specified, workflows are only returned if they are waiting for the current user. | |
GetScaledImageUrl | ||
GetSearchDefinition | Returns the search definition with the specified ID. | |
GetSearchDefinitions | Returns all search definitions the current user has access to. | |
GetSearchDefinitions(String, String, Int32) | Returns all search definitions the current user has access to. | |
GetStringConstant | Returns a localized string retrieved from MatchPoint StringConstants for the given key. | |
GetTag(String) | Returns the tag with the specified tag ID. Returns null if no tag was found. | |
GetTag(Guid, String) | Returns the tag with the specified provider id and key. Returns null if no tag was found. | |
GetTag(String, String) | Returns the tag with the specified provider name and key. Returns null if no tag was found. | |
GetUserPresenceHtml | Returns a string containing the HTML required to render a presence indicator for Lync with the specified user information. | |
HtmlUrlAttributeEncode | Encodes the specified url attribute and ensures that it's value is correctly formatted according to the content. | |
IsInstanceAdministrator | Returns 'true' if the current user has administrative permissions on the MatchPoint instance administration site. | |
IsUserInRole | Returns 'true' if the current user has the specified role on the current web. | |
LoadControl(String) | Returns the user control with the specified name. | |
LoadControlT(String) | Returns the user control with the specified name. | |
LoadControlFromPath | Returns the user control from the specified virtual path. | |
MakeGuid | Generates a new GUID. | |
ParseXml | Returns the XML node for the specified string. | |
ResolveAccount | Returns the resolved user accounts on the specified web. | |
SplitKeywords | Splits the input string into keywords considering quotes. | |
ToGuid | Converts the input string to the type 'System.Guid'. |