# DurableHttpOptions.DefaultGetCallerScope(HttpContext)

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.durable.http/orleans.durable.http.durablehttpoptions/) | [Methods](/orleans/docs/api/csharp/microsoft.orleans.durable.http/orleans.durable.http.durablehttpoptions/methods/)

[Source](https://github.com/dotnet/orleans/blob/4e887e9c914a2f2647fb3c81de963511521dd9cb/src/Orleans.Durable.Http/DurableHttpOptions.cs#L105-L109)

```csharp
public static string? DefaultGetCallerScope(HttpContext context)
```

Returns the authenticated user's `System.Security.Claims.ClaimTypes.NameIdentifier` claim, or its `sub` claim, or `null` for a request without either.

### Parameters

- `context` (`HttpContext`): The request.

### Returns

The caller's scope, or `null`.
