what this? this number of answers warnings, errors , notices might encounter while programming php , have no clue how fix. community wiki, invited participate in adding , maintaining list. why this? questions "headers sent" or "calling member of non-object" pop on stack overflow. root cause of questions same. answers questions typically repeat them , show op line change in his/her particular case. these answers not add value site because apply op's particular code. other users having same error can not read solution out of because localized. sad, because once understood root cause, fixing error trivial. hence, list tries explain solution in general way apply. what should here? if question has been marked duplicate of this, please find error message below , apply fix code. answers contain further links investigate in case shouldn't clear general answer alone. if want contribute, please add "favorite" error message, warning or notic...
in asp.net mvc (c#) project must learn whether user password expired or not? found answers on internet didn't useful me. the first way using maxpwdage + pwdlastset = password expired date , , second solution using useraccountcontrol attribute learn whether expired or not. if attribute's value 8389120, user password expired. altough user password expired in ad, useraccountcontrol value still 512. tried maxpwdage + pwdlastset couldn't see attribute maxpwdage (i got users administrator) active directory user password expiration date .net/ou group policy (first way) https://support.microsoft.com/en-us/kb/305144 (second way) both of them aren't working because of reasons mentioned above. are there other ways or how can see value of maxpwdage attribute? edit : getting user want here directoryentry dentry = new directoryentry ( "ldap://a.b.c:123/ou=d, dc=e, dc=f", this.getadusername(), ...