ArcGIS Pro 3.7 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 Function SignInAsync() As Task(Of SignInResult)
    public Task<SignInResult> SignInAsync()

    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 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.0 or higher.
    See Also