How to get ou of an user

dl
Date: 05/25/05


Date: Wed, 25 May 2005 18:34:40 +0800

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

-- 


Relevant Pages

  • ASP.NET Forms Authentication Best Practices
    ... ASP.NET Forms Authentication Best Practices ... What happens if your user database is compromised? ... Listing One, where you want to use login.aspx to log users in. ... string FirstName ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Repeater paging problem
    ... First about your "authentication". ... The way things should be done: Create checkboxes inside ... your comma separated string property will already be ready when your ... Doing it this way, you won't need no Session variable, no iteration thru ...
    (microsoft.public.dotnet.framework.aspnet.webcontrols)
  • Re: How to get user id guid
    ... string PrintName ... int nSize = translatedName.Capacity; ... My web site is using Integrated Windows authentication with Digest ...
    (microsoft.public.dotnet.security)
  • RE: Event ID: 6482 after installation
    ... Setting authentication method to 'NTLM' for IIS web site 'Office Server ... CspParameters parameters, Boolean randomKeyContainer, Int32 dwKeySize, ... AuthenticationMethods authenticationMethods, String[] ...
    (microsoft.public.sharepoint.portalserver)
  • Re: The pest of Impersonation
    ... On 24 Sep, 18:56, "Joe Kaplan" ... What type of authentication is used on the ASP.NET site? ... delegation to get the credentials to flow from the browser to your web site ... string CloseText = o).closecomment; ...
    (microsoft.public.dotnet.framework.aspnet.security)