ArcGIS Pro 2.9 API Reference Guide
SignInWithCredentials Method (IArcGISSignOn)

ArcGIS.Core.SystemCore Namespace > IArcGISSignOn Interface : SignInWithCredentials Method
The uri of the portal to sign on to
The user name to use for credentails or null
The password to use for credentials or null
The referer to use with the access token
The returned access token
Sign in to the portal provided by the Uri. This method is for use in CoreHost applications only
Syntax
bool SignInWithCredentials( 
   Uri portalUri,
   string user,
   string password,
   out string referer,
   out string token
)
Function SignInWithCredentials( _
   ByVal portalUri As Uri, _
   ByVal user As String, _
   ByVal password As String, _
   ByRef referer As String, _
   ByRef token As String _
) As Boolean

Parameters

portalUri
The uri of the portal to sign on to
user
The user name to use for credentails or null
password
The password to use for credentials or null
referer
The referer to use with the access token
token
The returned access token
Remarks
For use in CoreHost applications only.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

See Also

Reference

IArcGISSignOn Interface
IArcGISSignOn Members