다음을 통해 공유


SecurityPrivilegeMetadata Class

 

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

Contains the metadata that describes a security privilege for access to an entity.

For the Web API the corresponding type is SecurityPrivilegeMetadata ComplexType.

Namespace:   Microsoft.Xrm.Sdk.Metadata
Assembly:  Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)

Inheritance Hierarchy

System.Object
  Microsoft.Xrm.Sdk.Metadata.SecurityPrivilegeMetadata

Syntax

[DataContractAttribute(Name = "SecurityPrivilegeMetadata", Namespace = "https://schemas.microsoft.com/xrm/2011/Metadata")]
public sealed class SecurityPrivilegeMetadata : IExtensibleDataObject
<DataContractAttribute(Name := "SecurityPrivilegeMetadata", Namespace := "https://schemas.microsoft.com/xrm/2011/Metadata")>
Public NotInheritable Class SecurityPrivilegeMetadata
    Implements IExtensibleDataObject

Properties

Name Description
System_CAPS_pubproperty CanBeBasic

Gets whether the privilege can be basic access level.

System_CAPS_pubproperty CanBeDeep

Gets whether the privilege can be deep access level.

System_CAPS_pubproperty CanBeEntityReference

System_CAPS_pubproperty CanBeGlobal

Gets whether the privilege can be global access level.

System_CAPS_pubproperty CanBeLocal

Gets whether the privilege can be local access level.

System_CAPS_pubproperty CanBeParentEntityReference

System_CAPS_pubproperty ExtensionData

Gets or sets the structure that contains extra data.

System_CAPS_pubproperty Name

Gets the name of the privilege.

System_CAPS_pubproperty PrivilegeId

Gets the ID of the privilege.

System_CAPS_pubproperty PrivilegeType

Gets the type of the privilege.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

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.Sdk.Metadata Namespace

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright