The goal of this how-to is to explain how you can manage your application's users with the Users management application.
Fill in the credentials of an administrator user and press the 'Login' button.
And you're in! Welcome to the Users management console.
Select the 'Users' tab and click on 'Create new User';
Fill in the user data as depicted;
Press the 'Save' button, a success feedback message should be displayed;
And you're done! This user is ready to login in any application.
Users can be assigned with a Role to be granted access to specific screens. In addition you'll also be able to use Roles to enable/disable access to other application elements like buttons, containers, etc. or to condition your application's logic. Roles are defined at development time in Service Studio and are automatically made available in the Users application.
To create a Role, go to Service Studio and under Logic, right click the roles folder and pick 'Add Role'. You'll have to publish your application, for the role to be made available in the Users application.
To assign a Role to a user, you'll need to access the Users application at "https://<SERVERNAME>/Users" (where <SERVERNAME> is the host name of the server you're working on):
You may need to group users to simplify mangement of large sets of users. You can do this by Using Groups to aggregate users or roles:
Make sure the Platform Server is inside the Active Directory Domain you want to your users to authenticate with.
Type the following URL in your web browser: "https://<SERVERNAME>/Users" where <SERVERNAME> is the host name of the server you're working on. The login page should be displayed
Click the 'Configure Authentication' link on the right
Fill in the form as depicted below and click 'Save'
And you're done!
Curt Raddatz wrote:
Hi there, i didn't delete the administrator User, but i don't remember the password i used. I was creating new Users and put the User i had has administrator has Inactive. And then i put it back has active later, but it was asking for the password and i don't remember. How can i get that password again?
Hi,
Can someone explain to me the relationship between https://<SERVERNAME>/Users and the "Users & Roles" page in https://<SERVERNAME>/Lifetime? It seems that users created in the Lifetime environment do not have access to apps in Outsystems Now. Does one need to add a separate user-id in the Users environment for that? How does app authorization in Outsystem Now work?
Hi Frans,
In https://<SERVERNAME>/Users you have all the Runtime users (your application end users)
In https://<SERVERNAME>/Lifetime you have all your developers.
Regards,
Renato Gonçalves
Renato Gonçalves wrote:
Hi Renato,
So, a developer does not have access to an app unless he/she also has a seperate account in the users environment?
Exactly.
Imagine, for example, a Production environment where you want your developers/consultants to be able to publish and correct the applications, but you don't want them to access the application itself has it has sensitive data. This way you can control this.
Regards.
Some clarification is needed here.
* All user records are associated with an eSpace.
* Every eSpace has a property that chooses which eSpace is its "User Provider".
* The only users that an eSpace can "see" are users that are associated with the "User Provider" eSpace.
* BY DEFAULT your new eSpaces are created with the "Users" eSpace as the "User Provider". This may be changed at any time.
This means that 1) you do not NEED to use "Users" and 2) applications can completely separate their user groups simply by having different User Providers and 3) all eSpaces in an Application (and related Applications) should share the same User Provider, or else they won't know what's going on.
J.Ja
I guess this is an appropriate place to ask my question:
What to do if you lost access to /Users? I only have one administrator as far as i know, and we don't know the password anymore. admin/admin doesn't work.
How can I reset the password or any other means to regain access?
Kilian Croese wrote:
Hi Kilian,
You should contact OutSystems Support, they can help you recover the Admin user password.
Regards,Renato Gonçalves
I am using Outsystems platform 10.
It is configured to use active directory authentication for application login
How do i add an existing user in active directory into the application users list
https://<my environment>/Users/
Which host name of the server should I write in order to create a new user to test the application?
Mohamed Abilah wrote:
Hi Mohamed,
I'm assuming you want to create a new user in a test environment. If you have an enterprise platform you probably have 3 environments: development, test and production. The URL to those environments will be something like 'yourcompany-dev.outsystemsenterprise.com', 'yourcompany-tst.outsystemsenterprise.com' and 'yourcompany.outsystemsenterprise.com' respectively. These environment each have their own users. To create a new user in your test environment you would need to go to 'yourcompany-tst.outsystemsenterprise.com/Users' and login with a user that has admin or user-manager privileges in the test environment. Then create a new user and give it access to the roles defined in your application.
I hope this answer your question. If not, please provide us more info about your environments and what you want to accomplish exactly.
I get all of this regarding dev and tst environments and have set up users in both. my login does not work in the production environment and I cannot login to my app in the production environment.
My admin must have set me up to allow me as an admin into dev and tst. Does he need to do the same in Production as would seem logical?
Stephen Cobbett wrote:
That is correct. Each environment has it's own Users database and access rights have to be set-up within each environment. You may have rights in dev and tst that you do not have in production. That would be perfectly logical, as production rights are usually more restricted in order to comply to various rules and regulations.
I am facing a different problem: I have deactivated one of the application user who is an admin. Now i am not able to activate since i have only one admin. In the first place, how it allowed to deactivate the same user who is logged in. Is there a way contacting Outsystems administrator to make it activate the admin user?
Just write a screen (or make a timer that you can run from Service Center) that looks the user up by username, and sets the Is_Active field to "True" and then saves it by calling UpdateUser.
In outsystem studio, i go to logic tab and in roles folder i add new roles admin, developer, and teamlead. Now i want to check role on login so i am using switch widget in login action under common folder but on connector branch of switch unable to see roles option under user function
You cannot access the Roles functions from a screen action. To check the roles you would need to create a Fetch Data action under the Login screen, which can access the Roles functions. This data action could have 3 output parameters, HasRoleAdmin, HasRoleDeveloper and HasRoleTeamlead which you can set using the CheckXxxRole functions.
Now you can use GetUserRole.HasRoleXxx to check which role(s) the user has in the Login action.
Hope this helps.
Good luck.