WebProcessInformation.AccountName Eigenschap

Definitie

Hiermee haalt u de accountnaam voor het werkproces op.

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

Waarde van eigenschap

De naam van het werkprocesaccount.

Voorbeelden

In het volgende voorbeeld ziet u hoe u de accountnaam van het proces ophaalt.

public string GetAccountName()
{
    // Get the name of the account.
    return (string.Format(
        "Account name: {0}", 
        ProcessInformation.AccountName));
}
Public Function GetAccountName() As String
   ' Get the name of the account.
     Return String.Format("Account name: {0}", _
     processInformation.AccountName)
End Function 'GetAccountName

Opmerkingen

Uw toepassing heeft de juiste machtigingen nodig om toegang te krijgen tot de informatie die door deze eigenschap wordt verstrekt.

Van toepassing op