Share via


CrmEntitySecurityProvider Class

 

Applies To: Dynamics CRM 2015

Provides methods to verify entity security for a user. (Developer Extensions)

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

Inheritance Hierarchy

System.Object
  Microsoft.Xrm.Client.Security.CrmEntitySecurityProvider

Syntax

public abstract class CrmEntitySecurityProvider : ICrmEntitySecurityProvider, 
    IInitializable
public ref class CrmEntitySecurityProvider abstract : ICrmEntitySecurityProvider, 
    IInitializable
[<AbstractClass>]
type CrmEntitySecurityProvider = 
    class
        interface ICrmEntitySecurityProvider
        interface IInitializable
    end
Public MustInherit Class CrmEntitySecurityProvider
    Implements ICrmEntitySecurityProvider, IInitializable

Constructors

Name Description
System_CAPS_protmethod CrmEntitySecurityProvider()

Initializes a new instance of the CrmEntitySecurityProvider class.

Methods

Name Description
System_CAPS_pubmethod Assert(OrganizationServiceContext, Entity, CrmEntityRight)

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

System_CAPS_pubmethod Assert(OrganizationServiceContext, IEnumerable<Entity>, CrmEntityRight)

Asserts that the current user has the requested right to a set of entities.

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod Initialize(String, NameValueCollection)

Initializes custom settings.

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

System_CAPS_pubmethod TryAssert(OrganizationServiceContext, Entity, CrmEntityRight)

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

System_CAPS_pubmethod TryAssert(OrganizationServiceContext, IEnumerable<Entity>, CrmEntityRight)

Asserts that the current user has the requested right to a set of entities.

Extension Methods

Name Description
System_CAPS_pubmethod SerializeByJson(IEnumerable<Type>)

Serialize an object using the DataContractJsonSerializer.(Defined by ObjectExtensions.)

Thread Safety

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.Xrm.Client.Security Namespace
Developer extensions for Microsoft Dynamics CRM 2015

Return to top

© 2017 Microsoft. All rights reserved. Copyright