Using extensionAttribute12

I am using an application to populate Active Directory extensionAttribute12.  How long can the string be that is written to this field
gss-adsAsked:
Who is Participating?
 
Dariusz TykaICT Infrastructure Specialist Senior Commented:
Hi,

you can use code below to check what are  the limits fordifferent user attributes in AD (taken from https://www.adamtheautomator.com/find-max-length-active-directory-attribute/)
$schema =[DirectoryServices.ActiveDirectory.ActiveDirectorySchema]::GetCurrentSchema()
## I'm looking for user attributes and the property I'm looking for is an optional attribute
## The rangeUpper attribute is what tells us the max length of what can go into that particular attribute
$schema.FindClass('user').optionalproperties | select name,rangeupper

Open in new window

For extensionAttribute12 it is 2048 characters.
0
 
gss-adsAuthor Commented:
writing to the attribute is not a problem.   I am searching to determine the maximum length of data I can populate into the field
0
 
gss-adsAuthor Commented:
thanks for the assistance
0
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.