Share via


ServerUtils members

Applies to: PerformancePoint Services for SharePoint Server, Enterprise version
Used by the server for event handlers.

The ServerUtils type exposes the following members.

Properties

  Name Description
Public propertyStatic member AllowUnsafeUpdates Determines whether applications can write data to the repository without using form POST operations.
Public propertyStatic member DecimalPoint
Public propertyStatic member ThousandSeparator
Public propertyStatic member UnauthorizedAccessDetected Determines whether an access exception has occurred.

Top

Methods

  Name Description
Public methodStatic member CreateStackTraceId Returns an integer that identifies the specified exception.
Public methodStatic member GetAbsoluteLocation Gets the full URL to an object's location.
Public methodStatic member GetCurrentCulture
Public methodStatic member GetCurrentUserDisplayName Returns the display name of the current user who is accessing the site.
Public methodStatic member GetCurrentUserName Returns the user name of the current user who is accessing the site.
Public methodStatic member GetCurrentUserNow Returns DateTime.Now in the current user's configured timezone.
Public methodStatic member GetCurrentUserWindowsIdentityName Returns the user name of the current user, if the account is an authenticated Windows identity or claims-based identity.
Public methodStatic member GetTempFileForCurrentUser Returns the path to the local temporary file that has access rights for the current user.
Public methodStatic member HandleException(Exception) Logs an exception in the event log.
Public methodStatic member HandleException(String, Exception, ErrorCode) Logs an exception in the event log.
Public methodStatic member IsAccessDeniedException Determines whether an exception is a result of insufficient permissions.
Public methodStatic member IsAnonymousUser Determines whether the current user is using the site as the anonymous user.
Public methodStatic member MakeSecureString Converts the specified string into a SecureString object.
Public methodStatic member SecureStringToString Extracts the string value from the specified SecureString object.
Public methodStatic member SetThreadCultures Sets the locale of the current thread to the locale of the current site.
Public methodStatic member ShouldLog Determines whether to log access exceptions.

Top

See also

Reference

ServerUtils class

Microsoft.PerformancePoint.Scorecards.ServerCommon namespace