|
| |||||||||
| Tags: active directory, vbscript |
![]() |
| | Thread Tools | Search this Thread |
|
#1
| |||
| |||
|
hi everyone, i am having list of object IDS as shown below, BUILTIN\USERS AUTHORITY\SYSTEM BUILTIN\ADMINISTRATORS etc......... i want to take this ID and query AD to get what kind of object it is(user object ,or computer ,group)? i need to separate only the group object is it possible? pls provide me solution ............ |
|
#2
| ||||
| ||||
| Re: how to find out object type(user,computer,group) in active directory?
Hello vivekmohan, Can you please have a look at this topic? http://technet.microsoft.com/en-us/l.../bb727067.aspx I Hope this helps you.
__________________ IndiaGarage - India's Online Garage Driven by a Mouse |
|
#3
| ||||
| ||||
| Re: how to find out object type(user,computer,group) in active directory?
Why don't you use the objectCategory property to identify the object type. You can have the below statements in your code: DirectoryEntry.Properties("objectCategory")(0) = "group" DirectoryEntry.Properties("objectCategory")(0) = "user" DirectoryEntry.Properties("objectCategory")(0) = "computer" etc......... |
![]() |
|
| Thread Tools | Search this Thread |
| |
Similar Threads for: "how to find out object type(user,computer,group) in active directory?" | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Granting access via security group (user object vs. computer object | ikaikaokaina | Active Directory | 2 | 15-04-2010 08:31 PM |
| Active Directory >> Select this object type? | Sean McGilvray | Active Directory | 2 | 01-04-2009 04:40 PM |
| How can I find out who created a user account in Active Directory | bubblecrumb | Windows Server Help | 0 | 13-02-2008 02:00 PM |
| Delegate Control in Active Directory to allow group to unlock user accounts | Nino_1 | Active Directory | 4 | 02-11-2007 01:35 AM |
| Cannot add a user to group using active directory users and computers console | Rahul | Active Directory | 3 | 07-06-2007 12:41 AM |