Home All Groups Group Topic Archive Search About

Set ACE on FTP DirectoryEntry

Author
9 Oct 2006 6:43 PM
c benesh
Hello,

I'm trying to use DirectoryServices to programmatically create a FTP virtual
directoryin IIS and grant access to a certain AD group.

I've found some material on working with ACEs and ACLs...for Active Directory.

When I get a DirectoryEntry object on a IIS FTP virtual directory, the
ObjectSecurity property throws a NullReferenceException.

Does the functionality of a DirectoryEntry object not apply across all
providers?

Any suggestions, especially sample code?

Thank you,

Chuck

AddThis Social Bookmark Button