---
title: "Interface IMemberPolicy"
slug: "sdk--stylelabs.m.sdk.contracts.policies.imemberpolicy"
abstract: ""
---
# Interface IMemberPolicy

Interface for member policies.

## Namespace: StylelabsStylelabs.MSdkStylelabs.M.Sdk.ContractsPolicies

## Assembly: Stylelabs.M.Sdk.dll

## Syntax

```csharp
public interface IMemberPolicy
```

## Properties

### CanRead

Gets or sets a value indicating whether gets or sets whether the user/user group that has this policy can read the [Target](https://doc.sitecore.com/ch/en/developers/api-reference/sdk--stylelabs.m.sdk.contracts.policies.imemberpolicy.html).

#### Declaration

```csharp
bool CanRead { get; set; }
```

#### Property Value

| Type | Description |
| --- | --- |
| bool |  |

### CanWrite

Gets or sets a value indicating whether gets or sets whether the user/user group that has this policy can write to the [Target](https://doc.sitecore.com/ch/en/developers/api-reference/sdk--stylelabs.m.sdk.contracts.policies.imemberpolicy.html).

#### Declaration

```csharp
bool CanWrite { get; set; }
```

#### Property Value

| Type | Description |
| --- | --- |
| bool |  |

### DefinitionName

Gets or sets the name of the definition that contains the [Target](https://doc.sitecore.com/ch/en/developers/api-reference/sdk--stylelabs.m.sdk.contracts.policies.imemberpolicy.html).

#### Declaration

```csharp
string DefinitionName { get; set; }
```

#### Property Value

| Type | Description |
| --- | --- |
| string |  |

### Target

Gets or sets the member on the definition where the [CanRead](https://doc.sitecore.com/ch/en/developers/api-reference/sdk--stylelabs.m.sdk.contracts.policies.imemberpolicy.html) and [CanWrite](https://doc.sitecore.com/ch/en/developers/api-reference/sdk--stylelabs.m.sdk.contracts.policies.imemberpolicy.html) properties apply on.

#### Declaration

```csharp
string Target { get; set; }
```

#### Property Value

| Type | Description |
| --- | --- |
| string |  |
