Current Character Limit Of User Display Name Attribute On Active Directory
Query King | Sun, 25 Jun 2017 at 21:37 hours | Replies : 2 | Points : 50
Category : Active Directory
Hi Experts,
I want to check the Current character limit of User Display Name Attribute on Active Directory 2008. Please Help.
This Question is already solved Click To See The Answer
Solved
Hi Query King,
Please find the two Ways to get the maximum Size limit of Active Directory Attributes.
- Using GUI.
- By Default, Schema Snap-In do not show in MMC Console, So it need to be register first.
- Open an elevated command prompt, click Start , Type command prompt , then from Start Menu, Right Click on Command Prompt and click on Run as administrator, On the UAC prompt select Yes.
- Type regsvr32 schmmgmt.dll to register Schema Snap-In.
- You will get the "DllRegisterServer in schmmgmt.dll succeeded" as confirmation of successful Registration.
- Now to Open the MMC console, Go to Run, type MMC and click on OK.
- it will open MMC console, Go to File --> Add/Remove Snap-in.
- Add "Active Directory Schema" from opened windows and click on OK.
- In opened windows browse, Console Root -> Active Directory Schema -> Attributes -> Select Display name.
- Right Click on Display Name and click on Properties.
- Here you can see the Size Limit information (Refer Attached Screenshot for Details.)
2. Using PowerShell
- Go to Start and Type "Active Directory Module for Windows PowerShell"
- Type below command to see the size limit.
$schema =[DirectoryServices.ActiveDirectory.ActiveDirectorySchema]::GetCurrentSchema()
$schema.FindClass('user').optionalproperties | select name,rangeupper | Where-Object {$_.name -eq 'DisplayName'}
Hope it will solve your query.
Thanks Santosh, 2nd option is much easier.