Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Removing access control entry

Removing access control entry

Scheduled Pinned Locked Moved C#
sysadminwindows-adminhelpquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    vcorn
    wrote on last edited by
    #1

    hi, I have code to add access control entry to active directory user object so that they can't change password (User cannot change password is checked) But i wonder it's possible to write code to remove this access control entry again. I have tried using AccessControlList.RemoveAce method..but the "User cannot change password" is still checked. Using Windows 2003 server active directory and System.DirectoryServices here. Any help? Thanks

    G 1 Reply Last reply
    0
    • V vcorn

      hi, I have code to add access control entry to active directory user object so that they can't change password (User cannot change password is checked) But i wonder it's possible to write code to remove this access control entry again. I have tried using AccessControlList.RemoveAce method..but the "User cannot change password" is still checked. Using Windows 2003 server active directory and System.DirectoryServices here. Any help? Thanks

      G Offline
      G Offline
      Gavin Jeffrey
      wrote on last edited by
      #2

      Dont know if this is exactly what you are looking for but i found it a very informative site on this topic - maybe you could find some answers/clues there- http://weblogs.asp.net/cumpsd/archive/2004/02/08/69403.aspx

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups