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!

UnionCodeGroup.FromXml (SecurityElement, PolicyLevel)

Security policy object XML deserializer- includes policy level reference

[Visual Basic]
Overloads Overridable Public Sub FromXml( _
   ByVal e As SecurityElement, _
   ByVal level As PolicyLevel _
)
[C#]
public virtual void FromXml(
   SecurityElement e,
   PolicyLevel level
);
[C++]
public: virtual void FromXml(
   SecurityElement* e,
   PolicyLevel* level
);
[JScript]
public function FromXml(
   e : SecurityElement,
   level : PolicyLevel
);

Parameters

e
The XML encoding to use to reconstruct the security object.
level
Policy level within which the code group exists.

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.

The policy level context is provide for resolution of named permission sets.

See Also

UnionCodeGroup Class | UnionCodeGroup Members | System.Security.Policy Namespace | UnionCodeGroup.FromXml Overload List