ClaimsSettings Klasse
Contains the settings for claims based authentication using Active Directory Federation Services 2.0 (AD FS 2.0).
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 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
Beispiel
ClaimsSettings claimsSettings =
(ClaimsSettings)deploymentService.Retrieve(DeploymentEntityType.ClaimsSettings, null);
//Disable Claims using SDK
claimsSettings.Enabled = false;
deploymentService.Update(claimsSettings);
Vererbungshierarchie
System.Object
Microsoft.Xrm.Sdk.Deployment.DeploymentObject
Microsoft.Xrm.Sdk.Deployment.DeploymentConfigSettings
Microsoft.Xrm.Sdk.Deployment.ClaimsSettingsBase
Microsoft.Xrm.Sdk.Deployment.ClaimsSettings
Thread-Sicherheit
Alle öffentlichen statischen Mitglieder (Shared in Visual Basic) dieses Typs sind thread-sicher. Bei Instanzmitgliedern kann keine Garantie für die Thread-Sicherheit übernommen werden.
Plattformen
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,Smart Phone,Windows Server 2003,Windows XP Professional,Windows Server 2008,Windows Server 2012,Windows 7,Windows 8,Windows 8.1
Change History
Siehe auch
Referenz
ClaimsSettings Mitglieder
Microsoft.Xrm.Sdk.Deployment Namespace
Weitere Ressourcen
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.