Partilhar via


Classe ClaimsSettings

Aplica-se a: CRM 2015 on-prem, CRM Online

Contains the settings for claims based authentication using Serviços de Federação do Active Directory 2.0 (AD FS 2.0).

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

Sintaxe

'Declaração
<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 ClaimsSettingsBase
[DebuggerStepThroughAttribute] 
[GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 
[DataContractAttribute(Name="ClaimsSettings", Namespace="https://schemas.microsoft.com/xrm/2011/Contracts/Deployment")] 
public class ClaimsSettings : ClaimsSettingsBase

Exemplo

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

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

Hierarquia de Herança

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

Segurança do Thread

Todos os membros estáticos (Shared in Visual Basic) desse tipo são protegidos por thread. Não há nenhum garantia de que os membros de instância sejam protegidos por thread.

Plataformas

Plataformas de desenvolvimento

Windows Vista, Windows Server 2003 e

Plataformas de destino

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 Vista,Windows XP

Change History

Consulte também

Referência

Membros de ClaimsSettings
Namespace Microsoft.Xrm.Sdk.Deployment

Outros recursos

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

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