Disabling an account - InfoPath Dev Sign in | Join | Help in Code InfoPath (Entire Site) InfoPath Dev InfoPath Dev is dedicated to bringing you the information and tools you need to be successful in your Microsoft Office InfoPath development projects. Home Blogs Forums Photos Downloads InfoPath Dev » InfoPath » Code » Disabling an account Disabling an account Last post 04-05-2006 03:45 AM by bashira. 5 replies. Page 1 of 1 (6 items) Sort Posts: Oldest to newest Newest to oldest Previous Next 04-03-2006 10:55 AM bashira Joined on 01-12-2006 United Kingdom Posts 16 Disabling an account Reply Contact If i have a text box with a username (names as Username)and i add a button to disable the active directory account. what code would i need? can someone help me as i am not too good with VBscriptThanks 04-03-2006 02:17 PM In reply to Matt Faus Joined on 08-18-2006 Dallas, Texas Posts 1,558 Re: Disabling an account Mark as Not AnswerMark as Answer... Reply Contact What do you mean you want to "disable an account"? Do you want to control Windows security settings from within InfoPath? I don't think this will be easy.Or do you want to block certain content when a certain user is logged in? To do this it shouldn't be too hard and you should look into creating User Roles depending on the text box node that is filled with the username that you mentioned above. Matt Faus / Microsoft InfoPath MVPQdabra® Software / Streamline data gathering to turn process into knowledge 04-04-2006 07:26 AM In reply to bashira Joined on 01-12-2006 United Kingdom Posts 16 Re: Disabling an account Mark as Not AnswerMark as Answer... Reply Contact I want to disable the Active directory Account. 04-05-2006 12:48 AM In reply to bashira Joined on 01-12-2006 United Kingdom Posts 16 Re: Disabling an account Mark as Not AnswerMark as Answer... Reply Contact I am talking about something like this but will actually disable someones account, or remove group membership etc...http://www.mcse.ms/archive180-2005-8-1787269.htmlHope this makes sense 04-05-2006 03:31 AM In reply to Matt Faus Joined on 08-18-2006 Dallas, Texas Posts 1,558 Re: Disabling an account Mark as Not AnswerMark as Answer... Reply Contact If you are trying to remove users from a DOMAIN much like if you went to control panel -> Users on your server through InfoPath and the Active Directory, I doubt that this is able to be accomplished within InfoPath. Matt Faus / Microsoft InfoPath MVPQdabra® Software / Streamline data gathering to turn process into knowledge 04-05-2006 03:45 AM In reply to bashira Joined on 01-12-2006 United Kingdom Posts 16 Re: Disabling an account Mark as Not AnswerMark as Answer... Reply Contact I dont want to remove the use, just disable their account. Page 1 of 1 (6 items) Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.