Retrieving blocking state of the User

Hi everyone,

How can I retrieve the blocked status of a user without granting him the User Manager role?

I am using User_GetBlockedStatus but it is not working, does this action call requires User Manager role?


Thanks & Regards,

Shivya Pant

Hi Shivya,

Here is the implementation of User_GetBlockedStatus in the Users module as you see UserManager role is indeed required.

The LoginAttempt is not public, so you cannot consume it from another module.

One drastic solution could be to clone the Users Module and customize it to your needs, then set it as user module in your application.

There is however a strong drawback on that and that is that you will loose out on futher updates by OutSystems on the module.

Regards,

Daniel