Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Applies To: Dynamics CRM 2013
Asserts that the current user has the requested right to a set of entities.
Namespace:   Microsoft.Xrm.Client.Security
Assembly:  Microsoft.Xrm.Client (in Microsoft.Xrm.Client.dll)
Syntax
void Assert(
    OrganizationServiceContext context,
    IEnumerable<Entity> entities,
    CrmEntityRight right
)
void Assert(
    OrganizationServiceContext^ context,
    IEnumerable<Entity^>^ entities,
    CrmEntityRight right
)
abstract Assert : 
        context:OrganizationServiceContext *
        entities:IEnumerable<Entity> *
        right:CrmEntityRight -> unit
Sub Assert (
    context As OrganizationServiceContext,
    entities As IEnumerable(Of Entity),
    right As CrmEntityRight
)
Parameters
- context 
 Type: Microsoft.Xrm.Sdk.Client.OrganizationServiceContext- Type: OrganizationServiceContext. The context. 
- entities 
 Type: System.Collections.Generic.IEnumerable<Entity>- Type: IEnumerable<Entity>. The collection of entities. 
- right 
 Type: Microsoft.Xrm.Client.Security.CrmEntityRight- Type: CrmEntityRight. The rights to look for. 
See Also
Assert Overload
ICrmEntitySecurityProvider Interface
Microsoft.Xrm.Client.Security Namespace
Return to top