[This is preliminary documentation and subject to change.]
Provides methods for saving and loading authorization policys to/from various media types.
For a list of all members of this type, see AuthorizationPolicyLoader Members.
System.Object
LaMarvin.Constable.AuthorizationPolicyLoader
Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.
The class exposes only static (Shared in Visual Basic) methods.
The following example uses the AuthorizationPolicyLoader.LoadFromFile method to load an authorization policy stored in XML file named "c:\model.xml":
[Visual Basic]
Dim policy As AuthorizationPolicy = AuthorizationPolicyLoader.LoadFromFile("c:\model.xml")
[C#]
AuthorizationPolicy policy = AuthorizationPolicyLoader.LoadFromFile(@"c:\model.xml");
Namespace: LaMarvin.Constable
Assembly: LaMarvin.Constable (in LaMarvin.Constable.dll)
AuthorizationPolicyLoader Members | LaMarvin.Constable Namespace