How to disallow authenticated user or domain user to read scheme user account attribute, such as carlicence.

Jon Z 0 Reputation points

Dear community,

I am seeking help to find means to manage access to user scheme attribute access. The intention is to disallow authenticated user or domain user to read some scheme user attribute such as carlicense, but select group and admin can read & write. Thank you.

Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
6,091 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,434 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Rich Matheisen 45,416 Reputation points

    You can do this through the Active Directory Users and Computers GUI. You need to add a new ACE to the ACL, usually at the Organizational Unit that prohibits the "read" permission for that property (the "write" permission is probably already prohibited).

    0 comments No comments

  2. Limitless Technology 44,071 Reputation points

    Hello there,

    The quickest way to deny most of your users the ability to see this field but allow some users to do so would be to remove the attribute from the property set in your schema, then use an AD group for the subset of users and grant them read access to the attribute on all user objects. However, you probably don't want to be modifying the built-in property sets in your schema.

    The way to do it without schema modification would be to create two AD groups - one for the subset of users and one for everyone else. You can deny reading on carlicense on all user objects for the larger group containing most of your employees and can allow reading on carlicense, for the smaller subset. This isn't a great solution though since you have to update the larger group every time you hire/term.

    Similar discussion here

    Hope this resolves your Query !!

    --If the reply is helpful, please Upvote and Accept it as an answer–