Partilhar via


ReplacePrivilegesRole Action

Replaces the privilege set of an existing role.

This Web API action corresponds to the organization service ReplacePrivilegesRoleRequest.

ReplacePrivilegesRole action does not return a value.

Bound Entities

Bound actions are invoked by appending the action name to the URI representing an entity or collection.

EntityType Binding Type

role EntityType

entity

Parameters

Parameters allow for data to be passed to the action.

Name Type Nullable Unicode Description

Privileges

Collection(RolePrivilege ComplexType)

An array that contains the IDs and depths of the privileges that replace the existing privileges.

SolutionUniqueName

Edm.String

false

Unique name of the solution.

Consulte também

Outros recursos

Web API EntityType Reference
Web API Function Reference
Web API Query Function Reference
Web API EnumType Reference
Web API ComplexType Reference
Web API Metadata EntityType Reference

Microsoft Dynamics CRM 2016 and Microsoft Dynamics CRM Online
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.