Disabling an account - InfoPath Dev
in

InfoPath Dev

Disabling an account

Last post 04-05-2006 03:45 AM by bashira. 5 replies.
Page 1 of 1 (6 items)
Sort Posts: Previous Next
  • 04-03-2006 10:55 AM

    • bashira
    • Not Ranked
    • Joined on 01-12-2006
    • United Kingdom
    • Posts 16

    Disabling an account

    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 VBscript

    Thanks
  • 04-03-2006 02:17 PM In reply to

    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 MVP
    Qdabra® Software / Streamline data gathering to turn process into knowledge
  • 04-04-2006 07:26 AM In reply to

    • bashira
    • Not Ranked
    • Joined on 01-12-2006
    • United Kingdom
    • Posts 16
    I want to disable the Active directory Account.

  • 04-05-2006 12:48 AM In reply to

    • bashira
    • Not Ranked
    • Joined on 01-12-2006
    • United Kingdom
    • Posts 16
    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.html

    Hope this makes sense
  • 04-05-2006 03:31 AM In reply to

    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 MVP
    Qdabra® Software / Streamline data gathering to turn process into knowledge
  • 04-05-2006 03:45 AM In reply to

    • bashira
    • Not Ranked
    • Joined on 01-12-2006
    • United Kingdom
    • Posts 16
    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.