ArcGIS Pro 2.8 API Reference Guide
SignInAsync Method

ArcGIS.Desktop.Core Namespace > ArcGISPortal Class : SignInAsync Method
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 10, Windows 8.1

See Also

Reference

ArcGISPortal Class
ArcGISPortal Members