Delphi Pages Forums  

Go Back   Delphi Pages Forums > Delphi Forum > VCL

Lost Password?

Reply
 
Thread Tools Display Modes
  #1  
Old 12-06-2011, 06:01 PM
madmartian madmartian is offline
Senior Member
 
Join Date: Sep 2006
Posts: 120
Default Simple user ID validation with Exchange

I need a simple ID check for Exchange. It would be called by something like ExistsInExchange(UserID) and would return true or false. I don't need to login or anything else other than check for the existence of the user based on their ID (not their name). It needs to run on a workstation that has no special permissions. Running Outlook 2010.

Last edited by madmartian; 12-06-2011 at 06:32 PM. Reason: error in title
Reply With Quote
  #2  
Old 04-19-2012, 04:11 PM
Ouiji Ouiji is offline
Senior Member
 
Join Date: Nov 2001
Location: US of A
Posts: 478
Send a message via AIM to Ouiji
Default

And you have permissions to query AD schema? IE: You must have a user account with the proper permissions to gather the information. Is this the case?
__________________
"not quite smart enough to be dumb"
Extended Stats No Longer Available Due To Changes To The Forum.
Reply With Quote
  #3  
Old 04-20-2012, 03:13 AM
madmartian madmartian is offline
Senior Member
 
Join Date: Sep 2006
Posts: 120
Default

Yes, that is correct.
Reply With Quote
  #4  
Old 04-26-2012, 03:38 PM
Ouiji Ouiji is offline
Senior Member
 
Join Date: Nov 2001
Location: US of A
Posts: 478
Send a message via AIM to Ouiji
Default

Can you get away with using a query to your Outlook address book? or does it need to be directly to the exchange server? In most cases you can locate all users in the outlook address book, which keeps you from having to try and query the AD schema. If that will not work.. I think I have some sample code from an AD auth/login app I wrote a while back that can easily be modded to check for an Exchange user... I will check.
__________________
"not quite smart enough to be dumb"
Extended Stats No Longer Available Due To Changes To The Forum.
Reply With Quote
  #5  
Old 04-27-2012, 05:50 AM
madmartian madmartian is offline
Senior Member
 
Join Date: Sep 2006
Posts: 120
Default

Yes, checking the address book should work.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:41 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.