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

Jon Z 0 Reputation points
2023-03-04T13:39:20.74+00:00

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.
5,932 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,389 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Rich Matheisen 45,096 Reputation points
    2023-03-06T15:43:48.29+00:00

    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 43,966 Reputation points
    2023-03-07T08:36:46.33+00:00

    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 https://social.technet.microsoft.com/Forums/windowsserver/en-US/85322289-3815-4671-a33e-0bb934236e1c/block-attribute-view-from-certain-users?forum=winserverDS

    Hope this resolves your Query !!

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