Delen via


ClaimsSettings-klasse

Contains the settings for claims based authentication using Active Directory Federation Services 2.0 (AD FS 2.0).

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

Syntaxis

'Declaratie
<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

Voorbeeld

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

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

Overnamehiërarchie

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

Thread-veiligheid

Alle openbare statische (Shared in Visual Basic) leden van dit type zijn thread-veilig. Exemplaarleden zijn niet gegarandeerd thread-veilig.

Platforms

Development Platforms

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

Target Platforms

Windows 98,Windows 2000,Windows 2000 Server,Windows CE,Windows Server 2008,Windows 98 Second Edition,Pocket-pc,Smartphone,Windows Server 2003,Windows XP Professional,Windows Server 2008,Windows Server 2012,Windows 7,Windows 8,Windows 8.1

Change History

Zie ook

Verwijzing

ClaimsSettings-leden
Microsoft.Xrm.Sdk.Deployment-naamruimte

Overige resources

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

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