Saml2Assertion.CanWriteSourceData Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a value that indicates whether this assertion was deserialized from XML source and can re-emit the XML data unchanged.
public:
virtual property bool CanWriteSourceData { bool get(); };
public virtual bool CanWriteSourceData { get; }
member this.CanWriteSourceData : bool
Public Overridable ReadOnly Property CanWriteSourceData As Boolean
Property Value
true
if this assertion can re-emit the XML source data unchanged; otherwise, false
.
Remarks
The default implementation preserves the source data when read using the ReadAssertion method and can re-emit the original data as long as the Id property has not changed from the time that assertion was read.
Important
It is very important that SAML assertions with different data have different IDs. If implementing a scheme whereby an assertion "template" is loaded and certain bits of data are filled in, the Id must be changed.