> This page is for TWS API.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://ibkrcampus.com/docs/llms.txt.

# White Branding

## Introduction

This function will return the [White Branding ID](https://www.interactivebrokers.com/en/trading/white-branding.php) associated with the user.

> **Note**
>
> Nothing will be returned if the requesting username is not associated with any White Branding entity.

---

## Request White Branding Info

`EClient.reqUserInfo(reqId)`

**`reqId`** `int`

Request ID.

---

\


#### Python

```python
self.reqUserInfo(reqId)
```

#### Java

```java
client.reqUserInfo(reqId);
```

#### C++

```cpp
m_pClient->reqUserInfo(0);
```

#### C\#

```csharp
client.reqUserInfo(reqId);
```

#### VB.NET

```vbnet
client.reqUserInfo(reqId)
```

---

## Receive White Branding Info

`EWrapper.userInfo(reqId, whiteBrandingId)`

**`reqId`** `int`

Identifier for the given request.

---

**`whiteBrandingId`** `string`

Identifier for the white branded entity.

---

\


#### Python

```python
def userInfo(self, reqId: int, whiteBrandingId: str):
	print("UserInfo.", "ReqId:", reqId, "WhiteBrandingId:", whiteBrandingId)
```

#### Java

```java
@Override
public void userInfo(int reqId, String whiteBrandingId) {
	System.out.println(EWrapperMsgGenerator.userInfo(reqId, whiteBrandingId));
}
```

#### C++

```cpp
void TestCppClient::userInfo(int reqId, const std::string& whiteBrandingId) {
    printf("User Info. ReqId: %d, WhiteBrandingId: %s\n", reqId, whiteBrandingId.c_str());
}
```

#### C\#

```csharp
public void userInfo(int reqId, string whiteBrandingId)
{
	Console.WriteLine($"User Info. ReqId: {reqId}, WhiteBrandingId: {whiteBrandingId}");
}
```

#### VB.NET

```vbnet
Public Sub userInfo(reqId As Integer, whiteBrandingId As String) Implements EWrapper.userInfo
  Console.WriteLine($"User Info. ReqId: {reqId}, WhiteBrandingId: {whiteBrandingId}")
End Sub
```