Retrieve the current user

get

/api/rest/2.0/system/user/current

Retrieves the current user performing the request.

Request

Supported Media Types
Query Parameters
  • Level of detail returned by the request. Eloqua APIs can retrieve entities at three different levels of depth: minimal, partial, and complete. Any other values passed are reset to complete by default. For more information, see Request depth.
Back to Top

Response

Supported Media Types

200 Response

OK
Body ()
Root Schema : User
Type: object
Title: User
Show Source
Nested Schema : betaAccess
Type: array
A list of strings: beta programs the user can access.
Show Source
Nested Schema : capabilities
Type: array
A list of strings: the user's capabilities.
Show Source
Nested Schema : crmUserNames
Type: object
Title: crmUserNames
Show Source
Nested Schema : interfacePermissions
Type: array
A list of the user's interface permissions.
Show Source
Nested Schema : permissions
Type: array
The permissions for the user granted to your current instance. This is a read-only property.
Show Source
Nested Schema : UserPreferences
Type: object
Title: UserPreferences
Show Source
Nested Schema : productPermissions
Type: array
A list of the user's product permissions.
Show Source
Nested Schema : securityGroups
Type: array
The user's security groups.
Show Source
Nested Schema : shortcuts
Type: array
This parameter is not used.
Show Source
Nested Schema : typePermissions
Type: array
A list of the user's type permissions.
Show Source
Nested Schema : InterfacePermission
Type: object
Title: InterfacePermission
Show Source
Nested Schema : nestedInterfacePermissions
Type: array
Show Source
Nested Schema : ProductPermission
Type: object
Title: ProductPermission
Show Source
Nested Schema : SecurityGroup
Type: object
Title: SecurityGroup
Show Source
  • Acronym for the security group
  • Read Only: true
    The date and time the security group was created, expressed in Unix time.
  • Read Only: true
    The login id of the user who created the security group.
  • Read Only: true
    Level of detail returned by the request. Eloqua APIs can retrieve entities at three different levels of depth: minimal, partial, and complete. Any other values passed are reset to complete by default. For more information, see Request depth.
  • The description of the security group.
  • Read Only: true
    Id of the security group.
  • Read Only: true
    Indicates if the security group is effective.
  • Read Only: true
    Indicates if the security group is read only.
  • The name of the security group.
  • The asset's type in Eloqua. This is a read-only property.
  • Read Only: true
    Unix timestamp for the date and time the security group was last updated. This is a read-only property.
  • Read Only: true
    The login id of the user that last updated the security group. This is a read-only property.
Nested Schema : TypePermission
Type: object
Title: TypePermission
Show Source
Nested Schema : TypePermissions
Type: object
Title: TypePermissions
Show Source
  • The asset's type in Eloqua. This is a read-only property.

400 Response

Bad request. See Status Codes for information about other possible HTTP status codes.

401 Response

Unauthorized. See Status Codes for information about other possible HTTP status codes.

403 Response

Forbidden. See Status Codes for information about other possible HTTP status codes.

404 Response

The requested resource was not found. See Status Codes for information about other possible HTTP status codes.

500 Response

The service has encountered an error. See Status Codes for information about other possible HTTP status codes.
Back to Top

Examples

Retrieve details for the user performing the request:


GET /api/REST/2.0/system/user/current
			

Response:


{
  "type": "User",
  "id": "9",
  "createdAt": "1432136984",
  "createdBy": "4",
  "depth": "complete",
  "description": "API User",
  "folderId": "256",
  "name": "API User",
  "updatedAt": "1548699387",
  "updatedBy": "9",
  "address1": "",
  "address2": "",
  "betaAccess": [...],
  "capabilities": [...],
  "cellPhone": "",
  "city": "",
  "companyDisplayName": "CompanyName",
  "companyUrl": "",
  "country": "",
  "crmUserNames": {
    "type": "crmUserNames",
    "MSDUserName": "",
    "OSCUserName": "",
    "SFDCUserName": "",
    "SODUserName": ""
  },
  "crmUsername": "",
  "department": "",
  "digitalSignatureId": "",
  "emailAddress": "api.user@oracle.com",
  "fax": "",
  "federationId": "",
  "firstName": "API",
  "interfacePermissions": [...],
  "isDisabled": "False",
  "isUsingBrightenTemplate": "True",
  "jobTitle": "",
  "lastName": "User",
  "loginName": "API.User",
  "passwordExpires": "False",
  "personalMessage": "",
  "personalPhotoId": "",
  "personalUrl": "",
  "phone": "",
  "preferences": {
    "type": "UserPreferences",
    "timezoneId": "64"
  },
  "productPermissions": [...],
  "replyToAddress": "api.user@oracle.com",
  "securityGroups": [...],
  "senderDisplayName": "API User",
  "senderEmailAddress": "api.user@oracle.com",
  "ssoOnly": "False",
  "state": "",
  "typePermissions": [...],
  "zipCode": ""
}
			
Back to Top