b***@gmail.com
2005-12-12 18:25:52 UTC
Hello!
I'm trying to retrieve the groups of an Active Directory user
using T-SQL. For this, I create a linked server and query the
Active Directory using OpenQuery. When I query for the
memberOf attribute of the user I can't get anything because
it is a multi-valued attribute.
So my question is that: How can I retrieve the groups (nested
ones and the primary one included) of an Active Directory
user using T-SQL? Please notice that I don't ask how to do
this in Visual Basic, C++ or C#. I need to do this in T-SQL
in the current design.
Best Regards,
-Baris Boyvat
I'm trying to retrieve the groups of an Active Directory user
using T-SQL. For this, I create a linked server and query the
Active Directory using OpenQuery. When I query for the
memberOf attribute of the user I can't get anything because
it is a multi-valued attribute.
So my question is that: How can I retrieve the groups (nested
ones and the primary one included) of an Active Directory
user using T-SQL? Please notice that I don't ask how to do
this in Visual Basic, C++ or C#. I need to do this in T-SQL
in the current design.
Best Regards,
-Baris Boyvat