EventLogEntry.UserName Proprietà

Definizione

Ottiene il nome dell'utente responsabile di questo evento.

public:
 property System::String ^ UserName { System::String ^ get(); };
public string? UserName { get; }
public string UserName { get; }
member this.UserName : string
Public ReadOnly Property UserName As String

Valore della proprietà

Identificatore di sicurezza (SID) che identifica in modo univoco un utente o un gruppo.

Eccezioni

Impossibile ottenere informazioni sull'account per il SID dell'utente.

Commenti

Questa proprietà è spesso vuota per gli eventi nei log diversi dal log di sicurezza.

Si applica a

Vedi anche