Click or drag to resize

PortalUser Methods

Methods
  NameDescription
Public methodAddPortalItemAsync(PortalItem)
Adds an item without content asynchronously. This operation is available only to authenticated users.
Public methodAddPortalItemAsync(PortalItem, PortalItemContentParameters)
Adds an item with content asynchronously. This operation is available only to authenticated users.
Public methodAddPortalItemAsync(PortalItem, PortalItemContentParameters, PortalFolder)
Adds an item with or without content asynchronously. This operation is available only to authenticated users.
Public methodAddPortalItemAsync(PortalItem, PortalItemContentParameters, PortalFolder, CancellationToken)
Adds an item with or without content asynchronously. This operation is available only to authenticated users.
Public methodAddToFavoritesAsync(PortalItem)
Adds the given item to the user's favorites group.
Public methodAddToFavoritesAsync(PortalItem, CancellationToken)
Adds the given item to the user's favorites group.
Public methodStatic memberCreateAsync(ArcGISPortal, String)
Initializes a new instance of the PortalUser class from the specified username.
Public methodStatic memberCreateAsync(ArcGISPortal, String, CancellationToken)
Initializes a new instance of the PortalUser class from the specified username.
Public methodCreateFolderAsync(String)
Creates a new folder with the given title in this user's root folder (nested folders are not supported).
Public methodCreateFolderAsync(String, CancellationToken)
Creates a new folder with the given title in this user's root folder (nested folders are not supported).
Public methodDeleteFolderAsync(PortalFolder)
Deletes the specified folder from the portal. The folder must belong to this user. Deleting a folder also deletes all items that it contains.
Public methodDeleteFolderAsync(PortalFolder, CancellationToken)
Deletes the specified folder from the portal. The folder must belong to this user. Deleting a folder also deletes all items that it contains.
Public methodDeletePortalItemAsync(PortalItem)
Deletes a specified portal item asynchronously. Available to the item's owner and the administrator of the organization to which the owner belongs.
Public methodDeletePortalItemAsync(PortalItem, CancellationToken)
Deletes a specified portal item asynchronously. Available to the item's owner and the administrator of the organization to which the owner belongs.
Public methodCode exampleGetContentAsync
Gets the folders and items that are stored at the user's root folder.
Public methodCode exampleGetContentAsync(String)
Gets portal items stored in the specified folder belonging to this user.
Public methodGetContentAsync(CancellationToken)
Gets the folders and items that are stored at the user's root folder.
Public methodGetContentAsync(String, CancellationToken)
Gets portal items stored in the specified folder belonging to this user.
Public methodGetFavoritesStatusAsync(PortalItem)
Determines whether the given item is in the user's favorites group.
Public methodGetFavoritesStatusAsync(PortalItem, CancellationToken)
Determines whether the given item is in the user's favorites group.
Public methodGetThumbnailDataAsync
Get the thumbnail image data for this portal user.
Public methodGetThumbnailDataAsync(CancellationToken)
Get the thumbnail image data for this portal user.
Public methodMovePortalItemAsync(PortalItem, PortalFolder)
Moves the given portal item to the specified folder asynchronously. Available to the item's owner and the administrator of the organization to which the owner belongs.
Public methodMovePortalItemAsync(PortalItem, PortalFolder, CancellationToken)
Moves the given portal item to the specified folder asynchronously. Available to the item's owner and the administrator of the organization to which the owner belongs.
Public methodMovePortalItemsAsync(IEnumerablePortalItem, PortalFolder)
Moves the given portal items to the specified folder asynchronously. Available to the item's owner and the administrator of the organization to which the owner belongs.
Public methodMovePortalItemsAsync(IEnumerablePortalItem, PortalFolder, CancellationToken)
Moves the given portal items to the specified folder asynchronously. Available to the item's owner and the administrator of the organization to which the owner belongs.
Public methodRemoveFromFavoritesAsync(PortalItem)
Removes the given item from the user's favorites group.
Public methodRemoveFromFavoritesAsync(PortalItem, CancellationToken)
Removes the given item from the user's favorites group.
Top
See Also