G
Guest
Hi
I wonder if there is other / faster ways to get ou of the login user?
Here is what I can think of
- authentication
- Search with SAMAccountName=<username entered>
- set PropertiesToLoad.Add("distinguishedName")
- parse the OU= string from the property returned
TIA
--
I wonder if there is other / faster ways to get ou of the login user?
Here is what I can think of
- authentication
- Search with SAMAccountName=<username entered>
- set PropertiesToLoad.Add("distinguishedName")
- parse the OU= string from the property returned
TIA
--