I changed password for admin user in magento backend but on others browser user is logged in backend. How I can clear admin user session programmatically
This is quite similar to a post I had created, How to Delete Customer Session From Admin
There is not a straight forward solution to this kind of problem, there is no way from the admin session to identify which session(s) exist for a logged in user. This applies to the front end, which is where I was trying to effect changes.
Your only approach would be to programatically open all the sessions, and identify from the session data its self which one(s) belong to the admin user you want to impact, then you can wipe out that session. Thus when they return the session will have expired thus forcing them to log in.
Alternatively, perhaps you can use something similar to my approach - observe the request, and detect that the password has been changed recently - the session should have a last modified type of information which if you check against the user row in the database , if the password save is newer you can log them out.