SearchSearch   ProfileProfile   Log inLog in   RegisterRegister 

Can´t get "Remove idle users" to work

 
Post new topic   Reply to topic    FirstSpot Forum Index -> Pre-sales Support Forum
View previous topic :: View next topic  
Author Message
Eslovs_Kommun



Joined: 01 Dec 2017
Posts: 11
Location: Sweden

PostPosted: Tue May 08, 2018 9:44 am    
Post subject: Can´t get "Remove idle users" to work

I´ve got a self-sign portal and i want to remove accounts that has not been logged in for 30 days.
I have put in 30 in the box Time period at the Users page and when i push Remove Idle users it says 0 user records are deleted. I know there are accounts that has not been logged in for several months.
I have also tried to run the removeUser.exe 30 and it says Succeed.

The self-sign plan have the "Auto delete" box checked to No because i can not activate it, it´s greyd out.
The settings that i guess have something to do with the auto delete is:
Account disabled - No
Account is active - When it is created
Condition to suspend - Never

What have i done wrong?

Is there a way to do a search for all users that has not been logged in since a specific date? And then delete them.
Back to top
Eslovs_Kommun



Joined: 01 Dec 2017
Posts: 11
Location: Sweden

PostPosted: Tue May 08, 2018 9:59 am    
Post subject:

When i created a new plan i could check the box "Auto Delete" but when i check the plan the box is greyd out.
Back to top
alan
Forum facilitator


Joined: 26 Sep 2003
Posts: 4435

PostPosted: Tue May 08, 2018 4:18 pm    
Post subject:

Couple of points to note:

1) this feature is designed for username that is logged in at least once, but no used for more than X days.

2) when you run removeUser.exe, make sure you have Windows administrator right.

3) using the Plan is optional. You can set the "Auto Delete" user attribute explicitly under Configuration Manager -> Users.
_________________
~ Patronsoft Limited ~
Back to top
Eslovs_Kommun



Joined: 01 Dec 2017
Posts: 11
Location: Sweden

PostPosted: Wed May 09, 2018 6:43 am    
Post subject:

Ok.

Is there a way to get a list of the users that have created a self-created account with the data of creation date and last used date?
Back to top
alan
Forum facilitator


Joined: 26 Sep 2003
Posts: 4435

PostPosted: Wed May 09, 2018 7:15 am    
Post subject:

You need check the "reserved3" field of user table fsusr which is the logout time. The removeUser.exe will delete that user when the following condition is met:

Code:
reserved3 < currentTime - (idleDays * 86400)

_________________
~ Patronsoft Limited ~
Back to top
alan
Forum facilitator


Joined: 26 Sep 2003
Posts: 4435

PostPosted: Wed May 09, 2018 7:19 am    
Post subject:

Also, the creation date is in the field "signuptime". Note removeUser.exe doesn't use "signuptime" as a criteria for deletion.
_________________
~ Patronsoft Limited ~
Back to top
Display posts from previous:   
Post new topic   Reply to topic    FirstSpot Forum Index -> Pre-sales Support Forum All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group