Name | Description | |
---|---|---|
![]() | PortalUri | Gets the portal Uri for this portal instance |
The following tables list the members exposed by ArcGISPortal.
Name | Description | |
---|---|---|
![]() | EnsureValid | Ensure the portal is a valid. |
![]() | GetSignOnUsername | Gets the username for the current connection This method should be called from within a QueuedTask or System.Threading.Task unless the caller is within ArcGIS.Desktop.Framework.Contracts.ConfigurationManager.OnApplicationInitializing in which case the main thread should be used. |
![]() | GetToken | Gets the current token for the session. The ArcGISPortal class automatically manages the token expiration. This value should not be cached. This method should be called from within a QueuedTask or System.Threading.Task unless the caller is within ArcGIS.Desktop.Framework.Contracts.ConfigurationManager.OnApplicationInitializing in which case the main thread should be used. |
![]() | IsActivePortal | Gets whether this portal instance is the active portal |
![]() | IsSignedOn | Gets the sign on status of the portal instance. This method should be called from within a QueuedTask or System.Threading.Task unless the caller is within ArcGIS.Desktop.Framework.Contracts.ConfigurationManager.OnApplicationInitializing in which case the main thread should be used. |
![]() | SignIn | Synchronous method to Sign on to this portal instance. |
![]() | SignInAsync | Asynchronous method to Sign on to this portal instance. |
![]() | SignInWithCredentials | Synchronous method to Sign on to this portal instance. This method must be called from within a QueuedTask or BackgroundTask. |
![]() | SignOut | Sign out from this portal instance This method should be called from within a QueuedTask or System.Threading.Task unless the caller is within ArcGIS.Desktop.Framework.Contracts.ConfigurationManager.OnApplicationInitializing in which case the main thread should be used. |
Name | Description | |
---|---|---|
![]() | GetBasemapsAsync | Gets the list of base maps that are configured for the given portal. |
![]() | GetGroupsFromUserAsync | Gets the groups from the user's community information. |
![]() | GetPortalInfoAsync | Executes a self query on the specified portal to return its ArcGIS.Desktop.Core.Portal.PortalInfo. |
![]() | GetUserContentAsync | Gets the given username's content. Items are either in the home folder for the user, e.g. /content/users/{username} or in a subfolder of the home folder with the given folder ID. Multilevel folders are not supported. |
![]() | SearchForContentAsync | Searches for portal items from a query string. |