ArcGISKit Documentation

Function update(clear​Empty​Fields:​gis:​)

public func update(clearEmptyFields: Bool = false, gis: GIS) 

Updates the information for this User on ArcGIS Online or Enterprise.

Parameters

clear​Empty​Fields Bool

If a property like self.description is empty (for example: "" or nil), setting clearEmptyFields to true will clear that field in ArcGIS Online or ArcGIS Enterprise. More information at https://developers.arcgis.com/rest/users-groups-and-items/update-user.htm.

Returns

true if the user's information was successfully updated, false otherwise.