Skip To Content

/self: User Self

  • URL:https://[root]/community/self

Example Usage

URL for Self

https://www.arcgis.com/sharing/rest/community/self

Description

This resource allows discovery of the current authenticated user identified by the token.

Request Parameters

ParameterDetails
[Common Parameters]

For a complete listing, see Common parameters.

Response Properties

PropertyDetails
[User Response Properties]

See User for response properties.

JSON Response Syntax

{
  "username": "<username>",
  "fullName": "<first name> <last name>",
  "preferredView": "Web | GIS | null",
  "description": "<description>",
  "email": "<email address>",
  "access": "private | org |  public",
  "storageUsage": <storage used - bytes>,    
  "storageQuota": <storage quota - bytes>,
  "orgId": "<Organization id>",    
  "role":  "org_admin | org_publisher | org_user",    
  "tags": [
      "<tag1>",      
      "<tag2>"    
],
  "culture": "<culture code>",    
  "region": "<region>",   
  "thumbnail": "<file name>",  
  "created": date created shown in UNIX time,
  "modified": date modified shown in UNIX time,  
  "groups": [{
    "id": "<group id>",
    "title": "<group title>",
    "isInvitationOnly": true | false,
    "owner": "<group owner username>",
    "description": "<description>",
    "snippet": "<summary>",
    "tags": [
      "<tag1>",
      "<tag2>",
      "<tag3>"
    ],
    "phone": "<contact>",
    "thumbnail": "<file name>",
    "created": date created shown in UNIX time,
    "modified": date modified shown in UNIX time,  
    "access": "private | org |  public" 
    "userMembership": {
      "username": "<username>",
      "memberType": "<owner>",
      "applications": 0
    }
  }]
}

JSON Response Example

{
  "username": "jsmith",
  "fullName": "John Smith",
  "preferredView": "Web",
  "description": "Senior GIS Analyst for the city of Redlands.  ",
  "email": "jsmith33@esri.com",
  "access": "public",
  "storageUsage": 583650,    
  "storageQuota": 2147483648, 
  "orgId": "RSucA4urelpstn03",    
  "role": "org_admin", 
 "tags": [
      "<GIS Analyst>",      
      "<City of Redlands>"    
],  
  "culture": "en",    
  "region": "US",  
  "thumbnail": "<myProfile.jpg>",  
  "created": 1258501046000,
  "modified": 1290625562000,  
  "groups": [{
    "id": "0657d48d0c0841d793ea6ada2e6955f3",
    "title": "Street Maps",
    "isInvitationOnly": false,
    "owner": "jsmith",
    "description": "The street map group provides street maps for the city of Redlands.",
    "snippet": "City of Redlands maps",
    "tags": [
      "Redlands",
      "street",
      "maps"
    ],
    "phone": "https://www.esri.com",
    "thumbnail": "streets.jpg",
    "created": 1258501221000,
    "modified": 1272309404000,  
    "userMembership": {
      "username": "jsmith",
      "memberType": "owner",
      "applications": 0
    }
  }]
}