IWMSACLCheckAdmin Object (C#)
Previous | Next |
IWMSACLCheckAdmin Object (C#)
You can use the IWMSACLCheckAdmin object to retrieve an IWMSAccessControlList object containing a collection of IWMSAccessControlEntry objects. IWMSAccessControlEntry objects specify read and write permissions for a publishing point or file system.
The IWMSACLCheckAdmin object exposes the following property.
Property | Description |
AccessControlList | Retrieves an IWMSAccessControlList object containing a collection of access control entries. |
Example Code
The following example illustrates how to retrieve an IWMSACLCheckAdmin object.
using Microsoft.WindowsMediaServices.Interop; using System.Runtime.InteropServices; // Declare variables. WMSServer Server; IWMSPlugin Plugin; IWMSACLCheckAdmin ACLCheckAdmin; try { // Create a new WMSServer object. Server = new WMSServerClass(); // Retrieve the plug-in to be configured. Plugin = Server.EventHandlers[ "WMS Publishing Points ACL Authorization"]; // Retrieve the custom interface of the plug-in. ACLCheckAdmin = (IWMSACLCheckAdmin)Plugin.CustomInterface; } catch (COMException comExc) { // TODO: Handle COM exceptions. } catch (Exception e) { // TODO: Handle exceptions. }
See Also
Previous | Next |