Skip to Content
avatar image
Former Member

Need script to disable selected users in BOEXI 3.1

Hi,

I am looking for a script to disable selected users. I have a query builder query which I want to use in that script to disable users.

SELECT SI_NAME, SI_LASTLOGONTIME, SI_CREATION_TIME FROM CI_SYSTEMOBJECTS WHERE SI_NAME NOT IN ('ADMINISTRATOR','GUEST') AND SI_KIND='USER' AND SI_CREATION_TIME <= '2012.12.31' AND SI_LASTLOGONTIME IS NULL ORDER BY SI_NAME

Please help.

Regards,

Lokesh

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Best Answer
    Sep 08, 2014 at 07:11 AM

    Hi Lokesh,

    You can use the attched script to disable users as per your query builder query.

    You would need to update the query in the code.

    Place it as a .jsp file in AdminTools application context or create your own WAR to run the file.

    Thanks,

    Prithvi


    Add comment
    10|10000 characters needed characters exceeded