27 #import <Foundation/Foundation.h>
28 #import <ArcGIS/AGSLoadableBase.h>
29 #import <ArcGIS/AGSJSONSerializable.h>
30 #import <ArcGIS/AGSPortalTypes.h>
31 #import <ArcGIS/AGSUnitSystem.h>
32 #import <ArcGIS/AGSCancelable.h>
72 #pragma mark initializers
81 -(instancetype)initWithPortal:(
AGSPortal*)portal username:(NSString*)username;
91 #pragma mark properties
102 @property (nullable, nonatomic, copy, readonly) NSString *
username;
107 @property (nullable, nonatomic, copy, readonly) NSString *
fullName;
117 @property (nullable, nonatomic, copy, readonly) NSString *
email;
127 @property (nullable, nonatomic, copy, readonly) NSArray<NSString*> *
tags;
132 @property (nullable, nonatomic, copy, readonly) NSArray<AGSPortalGroup*> *
groups;
145 @property (nullable, nonatomic, strong, readonly) NSDate *
created;
150 @property (nullable, nonatomic, strong, readonly) NSDate *
modified;
178 @property (nullable, nonatomic, copy, readonly) NSArray<AGSPortalPrivilege*> *
privileges;
196 -(id<
AGSCancelable>)fetchContentInFolder:(nullable NSString*)folderID completion:(
void(^)(NSArray<
AGSPortalItem*> * __nullable items, NSError * __nullable error))completion;
212 -(id<
AGSCancelable>)removeFromFavorites:(
AGSPortalItem *)item completion:(nullable
void(^)(NSError * __nullable error))completion;
220 -(id<
AGSCancelable>)fetchFavoriteStatus:(
AGSPortalItem *)item completion:(
void(^)(BOOL isFavorite, NSError * __nullable error))completion;
232 completion:(nullable
void(^)(
AGSPortalFolder * __nullable folder, NSError * __nullable error))completion;
253 -(id<
AGSCancelable>)deletePortalItem:(
AGSPortalItem*)portalItem completion:(nullable
void(^)(NSError * __nullable error))completion;
269 completion:(nullable
void(^)(NSError * __nullable error))completion;
282 completion:(nullable
void(^)(NSError * __nullable error))completion;
297 completion:(nullable
void(^)(NSDictionary<NSString*,NSError*> * __nullable moveErrors, NSError * __nullable error))completion;
AGSPortalAccess
Definition: AGSPortalTypes.h:269
AGSPortalUserRole
Definition: AGSPortalUser.h:40
@ AGSPortalUserRolePublisher
Definition: AGSPortalUser.h:43
@ AGSPortalUserRoleUnknown
Definition: AGSPortalUser.h:41
@ AGSPortalUserRoleUser
Definition: AGSPortalUser.h:42
@ AGSPortalUserRoleAdmin
Definition: AGSPortalUser.h:44
AGSUnitSystem
Definition: AGSUnitSystem.h:35
A base class for loadables.
Definition: AGSLoadableBase.h:45
An image that is loaded asynchronously.
Definition: AGSLoadableImage.h:35
Represents a folder of content within the Portal or Organization.
Definition: AGSPortalFolder.h:38
Represents a group within the Portal or Organization.
Definition: AGSPortalGroup.h:64
An object representing a portal for ArcGIS.
Definition: AGSPortal.h:98
Content for a new AGSPortalItem.
Definition: AGSPortalItemContentParameters.h:37
Object representing a unit of content in an ArcGIS portal.
Definition: AGSPortalItem.h:93
Privileges of a portal user.
Definition: AGSPortalPrivilege.h:164
An object representing a registered user of the portal or organization.
Definition: AGSPortalUser.h:69
AGSUnitSystem units
Definition: AGSPortalUser.h:165
NSString * email
Definition: AGSPortalUser.h:117
NSDate * created
Definition: AGSPortalUser.h:145
NSDate * modified
Definition: AGSPortalUser.h:150
NSString * organizationID
Definition: AGSPortalUser.h:122
NSArray< NSString * > * tags
Definition: AGSPortalUser.h:127
AGSPortalAccess access
Definition: AGSPortalUser.h:140
NSString * userDescription
Definition: AGSPortalUser.h:112
NSString * fullName
Definition: AGSPortalUser.h:107
NSString * favoritesGroupID
Definition: AGSPortalUser.h:160
NSString * username
Definition: AGSPortalUser.h:102
AGSPortal * portal
Definition: AGSPortalUser.h:97
AGSLoadableImage * thumbnail
Definition: AGSPortalUser.h:173
AGSPortalUserRole role
Definition: AGSPortalUser.h:155
NSArray< AGSPortalGroup * > * groups
Definition: AGSPortalUser.h:132
NSArray< AGSPortalPrivilege * > * privileges
Definition: AGSPortalUser.h:178
A protocol exposed by operations that allow cancellation.
Definition: AGSCancelable.h:38
A protocol to convert objects to and from JSON.
Definition: AGSJSONSerializable.h:38