Developer Function: Script: $p.apiUsersGet
## Overview
This section explains the methods for obtaining values via Ajax POST requests. Use this when you want to obtain user information, etc.
## Preparation
Please create an [API Key](/manual/api-key) before performing API operations.
## Syntax
##### JavaScript
```
$p.apiUsersGet({
id: <User ID>,
done: <Optional Processing>,
fail: <Optional Processing>,
always: <Optional Processing>
});
```
## Description Of Each Parameter
|Parameter name|Description|
|:--|:--|
|User ID|User ID for which you want to obtain information|
|Optional processing|Processing when API communication is successful (done: required), when it fails (fail: optional), and when it is completed (always: optional)|
## Usage Example
##### JavaScript
```
$p.apiUsersGet({
id: 123,
done: function (data) {
console.log(data);
console.log('Getting user information is succeeded.');
},
fail: function () {
console.log('Getting user information is failed.');
},
always: function () {
console.log('Getting user information is completed.');
}
});
```