Proprietà TrustedUserHeader.UserName

Questa API supporta l'infrastruttura SQL Server 2012 e non può essere utilizzata direttamente dal codice.

Gets or sets the user name.

Spazio dei nomi  ReportExecution2005
Assembly:  ReportExecution2005 (in ReportExecution2005.dll)

Sintassi

'Dichiarazione
Public Property UserName As String 
    Get 
    Set
'Utilizzo
Dim instance As TrustedUserHeader 
Dim value As String 

value = instance.UserName

instance.UserName = value
public string UserName { get; set; }
public:
property String^ UserName {
    String^ get ();
    void set (String^ value);
}
member UserName : string with get, set
function get UserName () : String 
function set UserName (value : String)

Valore proprietà

Tipo: System.String
The name of the user.

Vedere anche

Riferimento

TrustedUserHeader Classe

Spazio dei nomi ReportExecution2005