ClaimsSettings Class

Applies To: Microsoft Dynamics CRM 2013, Microsoft Dynamics CRM Online

Contains the settings for claims based authentication.

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

Syntax

'Declaration
<DebuggerStepThroughAttribute> _
<GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")> _
<DataContractAttribute(Name:="ClaimsSettings", Namespace:="https://schemas.microsoft.com/xrm/2011/Contracts/Deployment")> _
Public Class ClaimsSettings
    Inherits DeploymentConfigSettings
[DebuggerStepThroughAttribute] 
[GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 
[DataContractAttribute(Name="ClaimsSettings", Namespace="https://schemas.microsoft.com/xrm/2011/Contracts/Deployment")] 
public class ClaimsSettings : DeploymentConfigSettings

Example

ClaimsSettings claimsSettings = 
    (ClaimsSettings)deploymentService.Retrieve(DeploymentEntityType.ClaimsSettings, null);

//Disable Claims using SDK
claimsSettings.Enabled = false;
deploymentService.Update(claimsSettings);

Inheritance Hierarchy

System.Object
   Microsoft.Xrm.Sdk.Deployment.DeploymentObject
     Microsoft.Xrm.Sdk.Deployment.DeploymentConfigSettings
      Microsoft.Xrm.Sdk.Deployment.ClaimsSettings

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.

Platforms

Development Platforms

Windows Server 2008, Windows Server 2012, Windows 7 (All Versions), Windows 8 (All Versions)

Target Platforms

Windows 98,Windows 2000,Windows 2000 Server,Windows CE,Windows Server 2008,Windows 98 Second Edition,Pocket PC,Smart Phone,Windows Server 2003,Windows XP Professional,Windows Server 2008, ,Windows Server 2012, ,Windows 7 (All Versions), ,Windows 8 (All Versions)

Change History

See Also

Reference

ClaimsSettings Members
Microsoft.Xrm.Sdk.Deployment Namespace

Other Resources

Use Deployment Entities and Deployment Configuration Settings
Active Directory and Claims-Based Authentication

Send comments about this topic to Microsoft.
© 2013 Microsoft Corporation. All rights reserved.