Share via


ReplacePrivilegesRole Action

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

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.

See Also

Use Web API actions
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 365

© 2016 Microsoft. All rights reserved. Copyright