Export (0) Print
Expand All

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.

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

  Name Description
Public method Static member CreateStackTraceId Returns an integer that identifies the specified exception.
Public method Static member GetAbsoluteLocation Gets the full URL to an object's location.
Public method Static member GetCurrentUserDisplayName Returns the display name of the current user who is accessing the site.
Public method Static member GetCurrentUserName Returns a name that uniquely identifies the current user who is accessing the site.
Public method Static member GetCurrentUserWindowsIdentityName Returns the unique user name of the current user, if the account is an authenticated Windows identity or claims-based identity.
Public method Static member HandleException(Exception) Logs an exception in the event log.
Public method Static member HandleException(String, Exception, ErrorCode) Logs an exception in the event log.
Public method Static member IsAccessDeniedException Determines whether an exception is a result of insufficient permissions.
Public method Static member IsAnonymousUser Determines whether the current user is using the site as the anonymous user.
Public method Static member MakeSecureString Converts the specified string into a SecureString object.
Public method Static member SetThreadCultures Sets the locale of the current thread to the locale of the current site.
Public method Static member ShouldLog Determines whether to log access exceptions.
Top
Show:
© 2014 Microsoft