dsacls - changed inheriting permissions from the parent on user object

I am trying to use the command line to reset permissions on some user objects that have the - inheriting  permissions disabled.
output from dsacls for a user shows - {This object is protected from inheriting permissions from the parent}

I have tried
dsacls "cn=user,dc=domain,dc=name" /p:n

 and I get an error

Parameter /p:n was unexpected.
The parameter is incorrect.

from the GUI I can reset the permissions without an issue. Does anyone have any examples of how I can do this.

LVL 15
Who is Participating?
MSE-dwellsConnect With a Mentor Commented:
Try upper-case, i.e. -          /P:N
markpalinuxAuthor Commented:

That worked, I thought I tried that.

ok - 500 points.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.