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).

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


[DataContractAttribute(Name = "ClaimsSettings", Namespace = "http://schemas.microsoft.com/xrm/2011/Contracts/Deployment")]
public class ClaimsSettings : ClaimsSettingsBase

NameDescription
System_CAPS_pubmethodClaimsSettings()

Initializes a new instance of the ClaimsSettings class.

NameDescription
System_CAPS_pubpropertyEnabled

Gets or sets whether the setting is enabled.(Inherited from ClaimsSettingsBase.)

System_CAPS_pubpropertyEncryptionCertificate

Gets or sets the encryption certificate.(Inherited from ClaimsSettingsBase.)

System_CAPS_pubpropertyExtensionData

Gets or sets the structure that contains extra data.(Inherited from DeploymentObject.)

System_CAPS_pubpropertyFederationMetadataUrl

Gets or sets the federation metadata URL.(Inherited from ClaimsSettingsBase.)

System_CAPS_pubpropertyFederationProviderType

Gets or sets the federation provider type.(Inherited from ClaimsSettingsBase.)

System_CAPS_pubpropertySessionSecurityTokenLifetimeInHours

Gets or sets the session security token lifetime.(Inherited from ClaimsSettingsBase.)

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(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.

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright

Community Additions

ADD
Show: