ClaimsSettings Class
Updated: November 29, 2016
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online
Contains the settings for claims based authentication using Active Directory Federation Services 2.0 (AD FS 2.0).
Assembly: Microsoft.Xrm.Sdk.Deployment (in Microsoft.Xrm.Sdk.Deployment.dll)
Microsoft.Xrm.Sdk.Deployment.DeploymentObject
Microsoft.Xrm.Sdk.Deployment.DeploymentConfigSettings
Microsoft.Xrm.Sdk.Deployment.ClaimsSettingsBase
Microsoft.Xrm.Sdk.Deployment.ClaimsSettings
| Name | Description | |
|---|---|---|
![]() | ClaimsSettings() | Initializes a new instance of the ClaimsSettings class. |
| Name | Description | |
|---|---|---|
![]() | Enabled | Gets or sets whether the setting is enabled.(Inherited from ClaimsSettingsBase.) |
![]() | EncryptionCertificate | Gets or sets the encryption certificate.(Inherited from ClaimsSettingsBase.) |
![]() | ExtensionData | Gets or sets the structure that contains extra data.(Inherited from DeploymentObject.) |
![]() | FederationMetadataUrl | Gets or sets the federation metadata URL.(Inherited from ClaimsSettingsBase.) |
![]() | FederationProviderType | Gets or sets the federation provider type.(Inherited from ClaimsSettingsBase.) |
![]() | SessionSecurityTokenLifetimeInHours | Gets or sets the session security token lifetime.(Inherited from ClaimsSettingsBase.) |
| Name | Description | |
|---|---|---|
![]() | Equals(Object) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | ToString() | (Inherited from Object.) |
ClaimsSettings claimsSettings =
(ClaimsSettings)deploymentService.Retrieve(DeploymentEntityType.ClaimsSettings, null);
//Disable Claims using SDK
claimsSettings.Enabled = false;
deploymentService.Update(claimsSettings);
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Microsoft Dynamics 365
© 2016 Microsoft. All rights reserved. Copyright


