# NETWORK::NETWORK_START_USER_CONTENT_PERMISSIONS_CHECK

- **Hash:** `0xDEB2B99A1AF1A2A6`
- **Namespace:** NETWORK
- **Runtime name (Lua/JS):** `NetworkStartUserContentPermissionsCheck`
- **Side:** client (game native)
- **Name status:** official
- **Documentation:** described
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/NETWORK/NETWORK_START_USER_CONTENT_PERMISSIONS_CHECK

## Signature

```c
int NETWORK_START_USER_CONTENT_PERMISSIONS_CHECK(Any* gamerHandle);
```

## Parameters

- `gamerHandle` (`Any*`)

## Returns

`int`

## Description

Always returns -1. Seems to be XB1 specific.

## Usage

### Lua

```lua
local retval, gamerHandle = NetworkStartUserContentPermissionsCheck(gamerHandle)

-- always available, by hash
local retval, gamerHandle = Citizen.InvokeNative(0xDEB2B99A1AF1A2A6, Citizen.PointerValueIntInitialized(gamerHandle), Citizen.ResultAsInteger())
```

### JavaScript

```js
const [retval, gamerHandle] = NetworkStartUserContentPermissionsCheck(gamerHandle);

// by hash
const [retval, gamerHandle] = Citizen.invokeNative('0xDEB2B99A1AF1A2A6', Citizen.pointerValueIntInitialized(gamerHandle), Citizen.returnResultAnyway(), Citizen.resultAsInteger());
```

### C#

```csharp
var gamerHandle = new OutputArgument();
int retval = Function.Call<int>((Hash)0xDEB2B99A1AF1A2A6, gamerHandle);
// gamerHandle.GetResult<int>()
```

- The last argument is an in/out pointer: pass its initial value, and the updated value is returned after the result.
- `Any*` arguments are often structs. Build them with a DataView buffer and pass it with `:Buffer()` — see the examples and notes below.

*Sources: alloc8or RDR3 NativeDB.*
