FromXml(System.Security.SecurityElement) Method
The FromXml method of the SingleSignonPermission class reconstructs a SharePointPermission object from an XML encoding.
Parameters
securityElement The XML encoding from which to reconstruct the SharePointPermission.
Exceptions
Exception Type | Condition |
---|---|
ArgumentNullException | The securityelement parameter is a null reference (Nothing in Visual Basic). |
ArgumentException | The securityelement parameter does not contain the XML encoding for an instance of the same type as the current instance. In other words, the securityelement does not represent a valid permission element of the same type. |
Requirements
Platforms: Windows Server 2003
Security: Code Access Security