---
title: "Policies client"
slug: "policies-client-1523402"
abstract: "Overview of the Policies client used to read and update operations on policies."
---
# Policies client

The SDK provides a `Policies client` to provide read and update operations on policies.

Policies are created in and deleted from Sitecore Content Hub internally only. Externally, they can only be retrieved or modified.

> [!note]
> The `client` variable in the following code examples refers to the `IMClient` instance. When using the Web SDK, the variable name can be chosen freely, but it is also called `client` at instantiation in the documentation.

## Get user policies

To get a user's policy, use `GetUserPolicyAsync`:

```shell
var policy = await MClient.Policies.GetUserPolicyAsync(userId);

```

## Get user group policies

Similar to getting a user group's policy, use `GetUserGroupPolicyAsync`:

```shell
var policy = await MClient.Policies.GetUserGroupPolicyAsync(userGroupId);

```

## Updating policies

After making changes to policies, the policy can be updated as follows:

```shell
await MClient.Policies.UpdateAsync(policy);

```