Set status

Feb 8, 2008 at 8:25 AM
I know there is previous post on this topic but since i didnt find solution i need to ask again:

Does anyone know how to change user status?I know you that your application has to get extended permission but even then its not working. I tried even with javascript library with following code

api.requireLogin(function(exception)
{
api.users_setStatus('test',true,true,function(result, exception)
{
alert(result);
alert(exception);
});
});

It returns 'true' for result and 'null' for exception but status is same