User
This guide describes how to retrieve user profile information and account details using the SDK.
Get User Profile
Retrieve detailed information about the authenticated user's trading account, including unique identifiers, exchange access permissions, enabled trading segments, and DDPI authorization status.
Python SDK Usage
Response
Response Schema
| Name | Type | Description |
|---|---|---|
| vendor_user_id | string | Unique identifier of the user |
| ucc | string | Unique Client Code (UCC) of the user |
| nse_enabled | boolean | Whether trading is enabled on National Stock Exchange (NSE) for this user |
| bse_enabled | boolean | Whether trading is enabled on Bombay Stock Exchange (BSE) for this user |
| ddpi_enabled | boolean | DDPI (Demat Debit and Pledge Instruction) status. When enabled, allows the broker to debit securities from the user's Demat account for transactions like selling shares or pledging them for margin, without requiring TPIN and OTP authorization for each transaction |
| active_segments | array[string] | List of trading segments active for the user such as CASH, FNO, COMMODITY etc. |