Click here to Skip to main content
15,917,793 members
Home / Discussions / C#
   

C#

 
AnswerRe: Trapping a Windows Dialog Pin
Abhishek Sur12-Sep-09 13:37
professionalAbhishek Sur12-Sep-09 13:37 
AnswerRe: Trapping a Windows Dialog Pin
Luc Pattyn12-Sep-09 13:50
sitebuilderLuc Pattyn12-Sep-09 13:50 
GeneralRe: Trapping a Windows Dialog Pin
Damian McDonald12-Sep-09 14:17
Damian McDonald12-Sep-09 14:17 
AnswerRe: Trapping a Windows Dialog Pin
April Fans22-Sep-09 17:29
April Fans22-Sep-09 17:29 
QuestionImplementing security against AD, user level, group level and roles? Pin
Mats Eurén12-Sep-09 12:02
Mats Eurén12-Sep-09 12:02 
AnswerRe: Implementing security against AD, user level, group level and roles? Pin
Abhishek Sur12-Sep-09 12:49
professionalAbhishek Sur12-Sep-09 12:49 
GeneralRe: Implementing security against AD, user level, group level and roles? Pin
Mats Eurén12-Sep-09 21:46
Mats Eurén12-Sep-09 21:46 
AnswerRe: Implementing security against AD, user level, group level and roles? Pin
April Fans22-Sep-09 17:31
April Fans22-Sep-09 17:31 
Hi.

I'm developing a small Windows forms application on which I must apply logon security. I need to verify that the user exist in the AD, is part of a certain group and has the proper role.

I also need to take care of the fact that the computer might not be connected to the network hence no contact with the domain controller.

Does anyone have an idea on how to implement this in a simple way?
Reply:

if you use 'socket' or other 'object'...,i think they always have a function like 'connect';
try like this way:
try
{
sokcet.connect();
}
catch
{
// not success.
// deal it.
}
April

Comm100 - Leading Live Chat Software Provider


modified 27-May-14 22:01pm.

Questionfile list Pin
kennyhibs12-Sep-09 11:32
kennyhibs12-Sep-09 11:32 
AnswerRe: file list Pin
Luc Pattyn12-Sep-09 12:35
sitebuilderLuc Pattyn12-Sep-09 12:35 
GeneralRe: file list Pin
kennyhibs12-Sep-09 12:55
kennyhibs12-Sep-09 12:55 
GeneralRe: file list Pin
PIEBALDconsult12-Sep-09 12:58
mvePIEBALDconsult12-Sep-09 12:58 
GeneralRe: file list Pin
kennyhibs12-Sep-09 13:14
kennyhibs12-Sep-09 13:14 
GeneralRe: file list Pin
Dave Kreskowiak12-Sep-09 15:05
mveDave Kreskowiak12-Sep-09 15:05 
GeneralRe: file list Pin
Luc Pattyn12-Sep-09 13:39
sitebuilderLuc Pattyn12-Sep-09 13:39 
AnswerRe: file list Pin
Abhishek Sur12-Sep-09 12:46
professionalAbhishek Sur12-Sep-09 12:46 
GeneralRe: file list Pin
kennyhibs12-Sep-09 13:40
kennyhibs12-Sep-09 13:40 
GeneralRe: file list Pin
Luc Pattyn12-Sep-09 13:49
sitebuilderLuc Pattyn12-Sep-09 13:49 
GeneralRe: file list Pin
kennyhibs12-Sep-09 14:06
kennyhibs12-Sep-09 14:06 
GeneralRe: file list Pin
Luc Pattyn12-Sep-09 15:23
sitebuilderLuc Pattyn12-Sep-09 15:23 
AnswerRe: file list Pin
April Fans22-Sep-09 17:32
April Fans22-Sep-09 17:32 
Questioncall second constructor Pin
raquidd2212-Sep-09 11:17
raquidd2212-Sep-09 11:17 
AnswerRe: call second constructor Pin
Abhishek Sur12-Sep-09 11:25
professionalAbhishek Sur12-Sep-09 11:25 
GeneralRe: call second constructor Pin
raquidd2214-Sep-09 5:26
raquidd2214-Sep-09 5:26 
QuestionAssign menu shortcut keys without key combinations? Pin
Gary Oakes12-Sep-09 11:10
Gary Oakes12-Sep-09 11:10 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.