OrganizationServiceContextExtensions.ModifyAccess Method (OrganizationServiceContext, EntityReference, Object)
Applies To: Dynamics CRM 2013
Replaces the access rights on the target record for the specified security principal (user or team). (Developer Extensions)
Namespace: Microsoft.Xrm.Client.Messages
Assembly: Microsoft.Xrm.Client (in Microsoft.Xrm.Client.dll)
Syntax
public static void ModifyAccess(
this OrganizationServiceContext context,
EntityReference target,
object principalAccess
)
public:
[ExtensionAttribute]
static void ModifyAccess(
OrganizationServiceContext^ context,
EntityReference^ target,
Object^ principalAccess
)
static member ModifyAccess :
context:OrganizationServiceContext *
target:EntityReference *
principalAccess:Object -> unit
<ExtensionAttribute>
Public Shared Sub ModifyAccess (
context As OrganizationServiceContext,
target As EntityReference,
principalAccess As Object
)
Parameters
context
Type: Microsoft.Xrm.Sdk.Client.OrganizationServiceContextThe organization service context.
- target
Type: Microsoft.Xrm.Sdk.EntityReference
- principalAccess
Type: System.Object
Remarks
This is a method wrapper for the ModifyAccessRequest and ModifyAccessResponse classes. See the documentation in the Request class for more information about this message.
See Also
OrganizationServiceContextExtensions Class
Microsoft.Xrm.Client.Messages Namespace
Developer extensions for Microsoft Dynamics CRM 2013
Return to top