Is there any arcobjects for working with an AGOL conexion from desktop?

4275
1
03-13-2015 01:43 AM
ItziarMartinez
New Contributor

Hi everybody!

Maybe it's a very basic question but I am new in this and any help will be very appreciate.

I want to develop with vb.net a button (an Add-in button for Arcgis Desktop 10.2.2) that get the username and the role who has already signed-in in ArcGIS online (with the ArcMap specific tool) in order to enable some other developed tools.

I know how to develop an Add-in button with .net framework SDK and visual studio 2010. My problem is that I don't know if it is available in arcobjects  any arcgis online session object. Is it? Which arcobject allows working with arcgis online from a customize development in vb.net or do

Thanks in advance!

0 Kudos
1 Reply
nicogis
MVP Frequent Contributor

ArcGIS Online has a full REST API: ArcGIS REST API

here you can find resources : Tools · Esri/ago-admin-wiki Wiki · GitHub

for connection in arcobjects you can see also interface IArcGISSingleSignon  ArcObjects 10 .NET SDK Help

IArcGISSingleSignon a = new ArcGISSingleSignonClass();
a.GetToken(IntPtr.Zero.ToInt32(), ref token, ref referer, ref expiration, ref user);
            ...
a.SignOut();

0 Kudos