---
title: "AssignRole"
description: "AssignRole"
url: "https://www.contentstack.com/docs/developers/sdks/content-management-sdk/dot-net/reference/assignrole"
product: "Contentstack"
doc_type: "guide"
audience:
  - developers
  - admins
version: "current"
last_updated: "2026-09-04"
---

# AssignRole

## AssignRole

Roles for assigning for the organization/stack

Role name.

Unique id for the role.

## AssignRole | .NET Management SDK | Contentstack

AssignRole defines the roles assigned to a user for an organization or stack in the Contentstack .NET Management SDK.