# HasUserAuthorization(UserAuthorization)

> This has the same functionality as Application.HasUserAuthorization. At the moment, the Device Simulator doesn't support simulation of this method.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.Device](/engine/6000.5/script-reference/unityengine/device.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public static bool HasUserAuthorization(UserAuthorization mode)
```

### Parameters

**** (\[UserAuthorization]\(/engine/6000.5/script-reference/unityengine/userauthorization)):&#x20;

### Returns

| Type                                                          | Description |
| ------------------------------------------------------------- | ----------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) |             |
