Select to view content in your preferred language

How to pass authentication information with featurelayer requests in ArcPro SDK

86
1
Wednesday
Gurunara
Frequent Contributor

In order to use SOI to authenticate and authorize users on the server side, do requests made from ArcPro SDK via methods such as 

featureLayer.Search, and also editOperation.Execute

need to pass user authentication information in the requests..?

The featurelayer is branch versioned.

(Sample code?)

 

0 Kudos
1 Reply
Aashis
by Esri Contributor
Esri Contributor

In the SOI, the IServerUserInfo provides the current user info. Please check the community sample that shows how to access the user and its role inside an SOI.

0 Kudos