About three weeks ago I started the laborious task of teaching myself C# .NET....having zero OOP experience has made the process fairly difficult. I am building a small systems management application “mostly as a learning experience” and I’m stuck on two issues. First, I can’t figure out how to add a NT logon name/account to Active Directory…I can add pre-windows users, but that’s it. Second, I’m trying to control directory/folder security permissions; but again, I’m stuck. I’ve tried to implement the FileIOPermission class, but it doesn’t seem to apply to directories/folders. I appreciate your help, Thanks, Mark
markaelkins
Posts
-
HELP! - Add Active Directory User & Control Folder Permissions -
Changing Files Security Properties with C#I could only find information on file permission, not folder permission?
-
Changing Files Security Properties with C#I am new to C# and still learning…so for you pros out there, I’m sure this is a piece of cake. Using Windows 2000 Server ( .NET Framework 1.1 ) #1. I need to (uncheck) not allow inheritable permissions from a parent to propagate to this object & copy previously inherited permission to this object. #2. Add a user from Active Directory to the folders permission with Modify, Read & Execute, List Folder Content, Read and Write allowed permission. Any help would be greatly appreciate Thank you, Mark markaelkins@gmail.com
-
How to add a new user using DirectoryServices (User Logon Name)I am new to C# and looking for a little help. I need to programmatically add users "User Logon Name" / "WinNT logon" to the windows 2000 Active Directory. I need to control/add other properties, but for now this is the main objective. I have successfully added pre-Windows 2000 users with DirectoryEntry & NetUserAdd, but can't find the syntax to add a WinNT logon name. I am using Visual Studio.Net 2003 Thank you, markaelkins@gmail.com Other properties that I need to control/add: (password, Full name, pre-Windows 2000 logon, User cannot change password, Password never expires, Description, Office)