Compartilhar via


UnauthorizedAccessMonitoringException.User Property

Gets the name of the user who called the method that raised the exception.

Namespace: Microsoft.EnterpriseManagement.Common
Assembly: Microsoft.EnterpriseManagement.OperationsManager.Common (in microsoft.enterprisemanagement.operationsmanager.common.dll)

Usage

'Usage
Dim instance As UnauthorizedAccessMonitoringException
Dim value As String

value = instance.User

Syntax

'Declaration
Public ReadOnly Property User As String
public string User { get; }
public:
property String^ User {
    String^ get ();
}
/** @property */
public String get_User ()
public function get User () : String

Property Value

A string that contains the name of the user who called the method that raised the exception.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2008, Windows Vista, Windows Server 2003, and Windows XP

Target Platforms

Windows Server 2008,Windows Server 2003,Windows Vista,Windows XP

See Also

Reference

UnauthorizedAccessMonitoringException Class
UnauthorizedAccessMonitoringException Members
Microsoft.EnterpriseManagement.Common Namespace

Send comments about this topic to Microsoft.