Share via


ICrmEntitySecurityProvider.Assert Method (OrganizationServiceContext, Entity, CrmEntityRight)

 

Applies To: Dynamics CRM 2015

Asserts that the current user has the requested right to an entity.

Namespace:   Microsoft.Xrm.Client.Security
Assembly:  Microsoft.Xrm.Client (in Microsoft.Xrm.Client.dll)

Syntax

void Assert(
    OrganizationServiceContext context,
    Entity entity,
    CrmEntityRight right
)
void Assert(
    OrganizationServiceContext^ context,
    Entity^ entity,
    CrmEntityRight right
)
abstract Assert : 
        context:OrganizationServiceContext *
        entity:Entity *
        right:CrmEntityRight -> unit
Sub Assert (
    context As OrganizationServiceContext,
    entity As Entity,
    right As CrmEntityRight
)

Parameters

See Also

Assert Overload
ICrmEntitySecurityProvider Interface
Microsoft.Xrm.Client.Security Namespace

Return to top

© 2017 Microsoft. All rights reserved. Copyright