Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Seeing return codes from active directory

Posted on 2009-07-16
1
Medium Priority
?
378 Views
Last Modified: 2015-01-05
HI all,
I am testing a web application that when users login, they are authenticated against the companies Active Directory.
What I need to do is, once the application makes a call to the AD for authentication, I want to see the AD code returned to the application e.g. 52e for a valid account, 530 for an account that is currently time restricted etc..
Can anyone tell me how to do this?!?
Many thanks in advance!!!
0
Comment
Question by:paddykool
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 22

Accepted Solution

by:
Paka earned 1500 total points
ID: 24892488
To get that type of detail, you'll have to create a function that will return a value based upon a query to Active Directory for the individual account details.  Here are a couple examples in VBScript:
http://www.activexperts.com/activmonitor/windowsmanagement/adminscripts/usersgroups/users/#DisplayAllowedLogon.htm
0

Featured Post

Learn how to optimize MySQL for your business need

With the increasing importance of apps & networks in both business & personal interconnections, perfor. has become one of the key metrics of successful communication. This ebook is a hands-on business-case-driven guide to understanding MySQL query parameter tuning & database perf

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Lotus Notes has been used since a very long time as an e-mail client and is very popular because of it's unmatched security. In this article we are going to learn about  RRV Bucket corruption and understand various methods to Fix "RRV Bucket Corrupt…
Instead of error trapping or hard-coding for non-updateable fields when using QODBC, let VBA automatically disable them when forms open. This way, users can view but not change the data. Part 1 explained how to use schema tables to do this. Part 2 h…
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…

721 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question