Hello @everyone,
greetings for the day!
i have observed some sample users in the outsystems users app , PFB snapshot, why we are getting these sample users in every environment ?
how to remove those, try to delete those users, but that's not happening, i am thinking these are outsystems sample users for same sample apps which i downloaded not sure about it, but how to remove that users from users enity entity,
No. Users have been created, so they are there. Would you like to have your account removed from a site because you haven't used it yet?
You have to mark them as inactive so they stop showing up. Maybe adapt some queries to ignore inactive users or users with specific roles.
Hi,
This issue may occur if the user is referenced in another entity and the delete rule for the reference attribute is set to "Protect." Please check where the user is referenced and check the delete rule of the attribute in that entity.
Hello,
If you clicked Edit This user you will find Delete this user link into user edit page
If you are trying to delete user and getting error message so its same as @Manikandan Sambasivam mentioned and you can check service center for error message which will indicate this user is referenced in which table.
@Priya Naveen I think the users are being created from the OutSystems Sample Data application, specifically from the SampleData_CS module. This module references the EncryptPassword from the User module. However, I cannot confirm this with certainty as Service Studio crashes when attempting to open SampleData_CS.
Sample users, just like sample data, are for sample apps. You probably deployed samples to later environments and it took users along.
It is not advisable to delete regular users. You can do it to test users but, to be safe, just inactivate them.
Yes Correct ,found these are from outsystems Sample data module, it added earlier, however we have now removed unused dependencies, redeployed the app again , will it remove those sample users ?
we haven't assigned any roles to those users