ArcGIS Pro 3.0 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, Windows 8.1

    See Also