ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Core Namespace / ArcGISPortal Class / SignInAsync Method

In This Topic
    SignInAsync Method
    In This Topic
    Asynchronous method to Sign on to this portal instance.
    Syntax
    public Task<SignInResult> SignInAsync()
    Public Function SignInAsync() As Task(Of SignInResult)

    Return Value

    A task of SignInResult containing the SignIn status
    Remarks
    If the sign on information is not cached, the OAuth dialog popup will be displayed.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also