Re: How do I find and display the canonicalName of the domain users group?
- From: "Richard Mueller [MVP]" <rlmueller-NOSPAM@xxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 20 Feb 2007 13:26:51 -0600
"Davez2" <best.david@xxxxxxxxxxxxxxxxxxx> wrote in message
news:1171898729.181607.95140@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
on
The canonicalName attribute is operational (also known as a constructed
attribute). The value is not saved in Active Directory, but calculated
request. Use the GetInfoEx method of the group object to do this. This
attribute is also multi-valued. Your code needs to handle the situation
where there is no canonical name, one name, or more than one.
Thanks for the help
I use a very haphazard method for scripting. Running into problems and
searching the internet and or posting to newsgroups to find solutions.
Which is great but a little slow, and labor intensive for someone
else.
Where do you go to find out information like you've included above.
From a scripting book?Or somekind of on line SDK library?
The best resource for scripting tasks in Active Directory is "Microsoft
Windows 2000 Scripting Guide". I like the text, but it is also available
online at:
http://www.microsoft.com/technet/scriptcenter/guide/sagsas_overview.mspx?mfr=true
In this case the guide gives clues, but putting it all together required
experimentation a few years ago. Sometimes the best place to get answers is
in the newsgroups.
--
Richard
Microsoft MVP Scripting and ADSI
Hilltop Lab web site - http://www.rlmueller.net
--
.
- References:
- How do I find and display the canonicalName of the domain users group?
- From: Davez2
- Re: How do I find and display the canonicalName of the domain users group?
- From: Richard Mueller [MVP]
- Re: How do I find and display the canonicalName of the domain users group?
- From: Davez2
- How do I find and display the canonicalName of the domain users group?
- Prev by Date: Re: Problem deleting a printer object
- Next by Date: Input past end of file : error on line 31 : ReadAll
- Previous by thread: Re: How do I find and display the canonicalName of the domain users group?
- Next by thread: Find computer names on network
- Index(es):
Relevant Pages
|