Click here to Skip to main content
15,887,083 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to retrive client machine name in c# Class Pin
Guffa13-Nov-08 1:44
Guffa13-Nov-08 1:44 
Questionconversion from double to float Pin
madeline_veda13-Nov-08 0:31
madeline_veda13-Nov-08 0:31 
AnswerRe: conversion from double to float Pin
DaveyM6913-Nov-08 1:01
professionalDaveyM6913-Nov-08 1:01 
AnswerRe: conversion from double to float Pin
PIEBALDconsult13-Nov-08 3:23
mvePIEBALDconsult13-Nov-08 3:23 
AnswerRe: conversion from double to float Pin
Ennis Ray Lynch, Jr.13-Nov-08 3:27
Ennis Ray Lynch, Jr.13-Nov-08 3:27 
GeneralRe: conversion from double to float Pin
CPallini13-Nov-08 3:46
mveCPallini13-Nov-08 3:46 
GeneralRe: conversion from double to float Pin
madeline_veda13-Nov-08 19:51
madeline_veda13-Nov-08 19:51 
QuestionActive Directory Reset password - able to login with both old password and new password [modified] Pin
Sudhir Mangla13-Nov-08 0:27
professionalSudhir Mangla13-Nov-08 0:27 
I working with Active Directory Reset password.

DirectoryEntry DirEntry = GetDirectoryEntry();
DirEntry.UsePropertyCache = false;
DirEntry.Invoke("SetPassword", new object[] { newpassword });
DirEntry.CommitChanges();


The code is working fine but after changing the password I am able to login with both old password and new password. I found with my observation that after one hour approximately the old password expires.

Is there any way to expire the old password immediately when I change the password?

Sudhir Mangla

http://tips.DevelopersVoice.com
(Technical Tips and Tricks)
http://Programmerworld.net
(Free books and source code)
http://Faq.Programmerworld.net
(FAQ and Tips for programmers)



modified on Thursday, November 13, 2008 6:39 AM

AnswerRe: Active Directory Reset password - able to login with both old password and new password Pin
Dave Kreskowiak13-Nov-08 4:59
mveDave Kreskowiak13-Nov-08 4:59 
GeneralRe: Active Directory Reset password - able to login with both old password and new password Pin
Sudhir Mangla14-Nov-08 1:06
professionalSudhir Mangla14-Nov-08 1:06 
AnswerRe: Active Directory Reset password - able to login with both old password and new password Pin
kakarato31-Mar-11 21:33
kakarato31-Mar-11 21:33 
Questionpinting text file using c#.net for web application Pin
anithagaraga12-Nov-08 23:59
anithagaraga12-Nov-08 23:59 
AnswerRe: pinting text file using c#.net for web application Pin
DaveyM6913-Nov-08 1:04
professionalDaveyM6913-Nov-08 1:04 
Questionno duplicates in array Pin
duta12-Nov-08 22:57
duta12-Nov-08 22:57 
AnswerRe: no duplicates in array Pin
Giorgi Dalakishvili12-Nov-08 23:15
mentorGiorgi Dalakishvili12-Nov-08 23:15 
AnswerRe: no duplicates in array Pin
#realJSOP12-Nov-08 23:55
mve#realJSOP12-Nov-08 23:55 
GeneralRe: no duplicates in array Pin
Guffa13-Nov-08 0:10
Guffa13-Nov-08 0:10 
GeneralRe: no duplicates in array Pin
J4amieC13-Nov-08 0:14
J4amieC13-Nov-08 0:14 
GeneralRe: no duplicates in array Pin
Simon P Stevens13-Nov-08 1:09
Simon P Stevens13-Nov-08 1:09 
GeneralRe: no duplicates in array Pin
J4amieC13-Nov-08 2:40
J4amieC13-Nov-08 2:40 
AnswerRe: no duplicates in array [modified] Pin
DaveyM6913-Nov-08 0:12
professionalDaveyM6913-Nov-08 0:12 
GeneralRe: no duplicates in array Pin
duta13-Nov-08 2:55
duta13-Nov-08 2:55 
AnswerRe: no duplicates in array Pin
Simon P Stevens13-Nov-08 1:14
Simon P Stevens13-Nov-08 1:14 
GeneralRe: no duplicates in array Pin
DaveyM6913-Nov-08 1:38
professionalDaveyM6913-Nov-08 1:38 
QuestionCheck SQL Server is installed Pin
Yulianto.12-Nov-08 22:39
Yulianto.12-Nov-08 22:39 

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.