NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

ISecurityPolicyEncodable.FromXml

Reconstructs a security object with a given state from an XML encoding.

[Visual Basic]
Sub FromXml( _
   ByVal e As SecurityElement, _
   ByVal level As PolicyLevel _
)
[C#]
void FromXml(
   SecurityElement e,
   PolicyLevel level
);
[C++]
void FromXml(
   SecurityElement* e,
   PolicyLevel* level
) = 0;
[JScript]
function FromXml(
   e : SecurityElement,
   level : PolicyLevel
);

Parameters

e
[To be supplied.]
level
Policy level context is provided for resolution of named permission set references.

Return Value

None

Remarks

Custom code that extends security objects will need to implement the ToXML and FromXML methods to make the objects security-encodable.

See Also

ISecurityPolicyEncodable Interface | ISecurityPolicyEncodable Members | System.Security Namespace