How to set ACEs on AD classes
-
Hi, I want to be able to give read/write permissions on certain AD classes to certain accounts. For instance, I want an account (say user1) to be able to create serviceConnectionPoint child objects. Another example would be to grant an account write access to mS-SQL-SQLServer class. Any ideas how to do this in C#? Thanks in advance. Nidhi
-
Hi, I want to be able to give read/write permissions on certain AD classes to certain accounts. For instance, I want an account (say user1) to be able to create serviceConnectionPoint child objects. Another example would be to grant an account write access to mS-SQL-SQLServer class. Any ideas how to do this in C#? Thanks in advance. Nidhi
You can access security only via Interop of adsi32 i think. There is no file security for .NET. I think there is a port in gotdotnet somewhere but you need to fell brave to put that under production. How would you be using mS-SQL-SQLServer? Cheers, Erick
-
You can access security only via Interop of adsi32 i think. There is no file security for .NET. I think there is a port in gotdotnet somewhere but you need to fell brave to put that under production. How would you be using mS-SQL-SQLServer? Cheers, Erick
Yes, I can use ADSI interop, but how do I set permissions on a class? I shall be pulishing some application specific info in the keywords property of mS-SQL-SQLServer. Regards, Nidhi