Click here to Skip to main content
15,885,278 members
Home / Discussions / C#
   

C#

 
GeneralRe: XML -- Call me stupid -- LOL Pin
Sk9323-Jun-09 23:07
Sk9323-Jun-09 23:07 
AnswerRe: XML -- Call me stupid -- LOL Pin
Eslam Afifi23-Jun-09 18:25
Eslam Afifi23-Jun-09 18:25 
QuestionHttp post [modified] Pin
kibromg23-Jun-09 12:32
kibromg23-Jun-09 12:32 
AnswerRe: Http post Pin
Gary Stafford23-Jun-09 14:34
Gary Stafford23-Jun-09 14:34 
Questionactive directory users Pin
caiena23-Jun-09 10:58
caiena23-Jun-09 10:58 
AnswerRe: active directory users [modified] Pin
EliottA23-Jun-09 11:01
EliottA23-Jun-09 11:01 
GeneralRe: active directory users Pin
caiena23-Jun-09 11:15
caiena23-Jun-09 11:15 
AnswerRe: active directory users [modified] Pin
rolandm661023-Jun-09 11:49
rolandm661023-Jun-09 11:49 
This is what I use passing in the DirectoryEntry object as a paramater.
public static bool CheckAccountDisabled(DirectoryEntry de)
{
        int ACCOUNTDISABLE = 0x0002;
	int flags = (int)de.Properties["userAccountControl"].Value;
	if (((flags & ACCOUNTDISABLE) == ACCOUNTDISABLE))
	{
		return true;
	}
	return false;
}


modified on Thursday, June 25, 2009 6:02 PM

QuestionBreakpoint problem Pin
Dan Neely23-Jun-09 10:21
Dan Neely23-Jun-09 10:21 
AnswerRe: Breakpoint problem Pin
EliottA23-Jun-09 10:28
EliottA23-Jun-09 10:28 
GeneralRe: Breakpoint problem Pin
Dan Neely23-Jun-09 10:42
Dan Neely23-Jun-09 10:42 
GeneralRe: Breakpoint problem Pin
EliottA23-Jun-09 10:44
EliottA23-Jun-09 10:44 
GeneralRe: Breakpoint problem Pin
Dan Neely23-Jun-09 10:50
Dan Neely23-Jun-09 10:50 
GeneralRe: Breakpoint problem Pin
EliottA23-Jun-09 10:52
EliottA23-Jun-09 10:52 
AnswerRe: Breakpoint problem Pin
Christian Graus23-Jun-09 10:28
protectorChristian Graus23-Jun-09 10:28 
GeneralRe: Breakpoint problem Pin
Dan Neely23-Jun-09 10:42
Dan Neely23-Jun-09 10:42 
GeneralRe: Breakpoint problem Pin
Christian Graus23-Jun-09 10:52
protectorChristian Graus23-Jun-09 10:52 
GeneralRe: Breakpoint problem Pin
Dan Neely23-Jun-09 11:07
Dan Neely23-Jun-09 11:07 
AnswerRe: Breakpoint problem Pin
Adam Maras23-Jun-09 10:52
Adam Maras23-Jun-09 10:52 
GeneralRe: Breakpoint problem Pin
Dan Neely23-Jun-09 11:09
Dan Neely23-Jun-09 11:09 
QuestionGet value of REG_NONE in registry Pin
jamesband00723-Jun-09 9:27
jamesband00723-Jun-09 9:27 
AnswerRe: Get value of REG_NONE in registry Pin
Luc Pattyn23-Jun-09 9:31
sitebuilderLuc Pattyn23-Jun-09 9:31 
AnswerRe: Get value of REG_NONE in registry Pin
Manas Bhardwaj23-Jun-09 9:31
professionalManas Bhardwaj23-Jun-09 9:31 
QuestionCommunicating with a serial port Pin
12425623-Jun-09 8:55
12425623-Jun-09 8:55 
AnswerRe: Communicating with a serial port Pin
Luc Pattyn23-Jun-09 9:25
sitebuilderLuc Pattyn23-Jun-09 9:25 

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.