ServerUtils Methods

Include Protected Members
Include Inherited Members

The ServerUtils type exposes the following members.

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 GetCurrentUserDisplayName Returns the display name of the current user who is accessing the site.
Public methodStatic member GetCurrentUserName Returns a name that uniquely identifies the current user who is accessing the site.
Public methodStatic member GetCurrentUserWindowsIdentityName Returns the unique user name of the current user, if the account is an authenticated Windows identity or claims-based identity.
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 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