Link to home
Start Free TrialLog in
Avatar of Neo_78
Neo_78Flag for India

asked on

Making Custom Schema Attribute Visible In DSA.MSC

After i add new attribute in schema and link them to user class how do i make them visible in dsa.msc ? I can see those attributes in LDP and ADSIEDIT, but not in dsa.msc.Can some one help ??
Avatar of bluntTony
bluntTony
Flag of United Kingdom of Great Britain and Northern Ireland image

Hi there,

For you to make a custom attribute visible in ADUC, you can create a context menu option which runs a vbscript. For example, when you right click a user, a menu option appears, say 'Edit CustomAttribute'. This then runs a vbscript which populates an input box with the value.

The following article explains how to link a script to a right-click menu for a user. You can modify the script to display/edit your user attribute.

http://www.petri.co.il/add_unlock_user_option_to_dsa.htm

Give me a shout if you need help modifying this for your needs. And sure I don't need to say this, but be careful in ADSIEDIT! :-)
Avatar of Neo_78

ASKER

Hi Tony,

Thanks for your feedback. But this solution does not help much.

Regards,
Neo.
Well, actually it does.

You need to modify the script in the article to display your custom attribute in ADUC, as you asked for. If you need help with the script, let me know the attribute and I'll provide one.

You can't get the attribute to display natively in the ADUC mmc because you would need to re-code the DLLs. Using a custom option on a context menu is as good as it gets I'm afraid. Apart from that, your option would be to develop your own form in VB/C# which accesses AD for the info.

If you could be a bit more descriptive about what you need exactly we might be able to help further.
Avatar of Neo_78

ASKER

Hi Tony,

I have used the "http://technet.microsoft.com/en-us/library/bb727064.aspx":  Adding the Attributes to the Class. I have added 4 new attribute to user class. Now I want these attribute to be visible at DSA.MSC Console. So I would require how to program the dll so that these 4 attributes are visible in dsa.msc console. the Attributes addes are "TMDManager","TMDSales","TMDGrade" and so on.....

So basically after doing this when i open up dsa.msc and go for user prpperty then i should be able to see this Attributes. For this as u said the dll file needs to be modified is correct but as i am not a programmer i dont know what do do exactly. So i require the steps for the same.

Hope i am clear now.

Thanks again tony !!

Regards,
Neo.
ASKER CERTIFIED SOLUTION
Avatar of bluntTony
bluntTony
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Neo_78

ASKER

Thanks Tony !!

But It would be great if the code can be obtained.

Regards,
Neo.
:-)
I would suggest you post a question in the relevant programming zone so someone there can help you write it.

Thanks,

Tony