Dsacls command in Windows Server 2008

This article describe about Dsacls command in Windows Server 2008.
  • 2589

Introduction

Dsacls command in Windows Server 2008 is used to displays and changes permission in the access control list of objects in active directory domain services. Syntax used for using Dsacls command in Windows Server 2008 operating system is given below.

Syntax

dsacls "[\\<Computer>\]<ObjectDN>" [/A] [/D <PermissionStatement> [<PermissionStatement>] . . . ] [/G <PermissionStatement> [<PermissionStatement>] . . . ] [/I:{T | S | P}] [/N] [/P:{Y | N}] [/R {<User> | <Group>}] . . . ] [/S [/T]] [/?]

Parameters For Dsacls

Parameter Description
"[\\<Computer>\]<ObjectDN>" Identifies the Active Directory object to investigate.
/A Adds ownership and auditing information to the results.
/D Denies the permissions that you specify to the user or group.
/G Grants the permissions that you specify to the user or group.
/I:{T | S | P} Defines the objects to which user are applying the permissions.
/N Provides that the specified ACE replaces the current ACEs in the ACL.
/P:{Y | N} Checks whether the object can inherit permissions from its parent objects.
/R {<User> | <Group>} [{<User> | <Group>}]. Deletes all ACEs for the users or groups that user specify.
/S Restores the security on the object to the default for that object class.
/T Restores the security on the tree of objects to the default for each object class.
/? Shows help at the command prompt.

Ask Your Question

Got a programming related question? You may want to post your question here

Programming Answers here

Categories

More Articles

© 2018 DotNetHeaven. All rights reserved.