IHostApi.GetCredentialUsername Method

This element is introduced in Windows PowerShell 5.0.

Namespace: Microsoft.OneGet.Api
Assembly: Microsoft.OneGet (in Microsoft.OneGet.dll)

Usage

'Usage
Dim instance As IHostApi
Dim returnValue As String

returnValue = instance.GetCredentialUsername

Syntax

'Declaration
Function GetCredentialUsername As String
string GetCredentialUsername ()
String^ GetCredentialUsername ()
String GetCredentialUsername ()
function GetCredentialUsername () : String

Return Value

Returns String.

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

Target Platforms

See Also

Reference

IHostApi Interface
IHostApi Members
Microsoft.OneGet.Api Namespace