nintex get list of users stored in active directory - nintex-workflow

I'm a new in using nintex, so I need help to use nintex form to retrieve all names of users which stored in active directory ( to appear at nintex form as drop down menue show all users )
I have tried to use [userProfileLookup] to make formula but it only give me data related to specific user not give me all users as I've need, appreciate any help.

Related

Is this possible to create a private report filtering in Data Studio embeded report

I created a report in DataStudio and embedded it on my website. I activated the option "anyone with the link can view" so this report will be visible to my website users.
But I need to show my website users different data depending on their user ids and more important I don't want users would be able to see other users' data so if I used URL filtering users would be able to breach and search another user id to see his data.
Does anyone have a solution for this scenario?
In Google documentation I saw an option to limit the report to users in my domain, I assume this will solve this issue, but I don't find how to restrict other domains.
Users are logged onto Google
If users of your website are already logged onto Google, use the Filter by email address guide from Data Studio help center. This requires you to setup FILTER BY EMAIL and then have a field in your data can be directly used as an email filter.
Users are not logged on to Google
If you want a solution where the users don't have to be logged onto Google, you will need to:
Create a Community Connector to pass the filtered data to your users. The connector should accept a short lived token as part of the config.
Create a dashboard with your connector and pass unique short-lived tokens for each user.
You should have an endpoint that returns the current user's data based on the token provided. Alternatively, the endpoint can return only the user's identify and you can query a secondary data source with a service account filtering for the user's identity.
Your connector should call your endpoint to fetch data only for the user/for the user's identity.
This official guide demonstrates how to implement this in more details.
Disclaimer: I work in the Data Studio team and wrote the above guide.
First option is to add extra 2 fields to your data source.
User_ID
Password
For example:
Data, User_ID, Password
$10,Daniel,123
$20,Alex,456
In your dashboard, you need to create two parameters:
User_ID_Parameter
Password_Parameter
Both parameters can set the default value to null, and accepts any values.
Then create a new calculated field:
CASE
WHEN REGEXP_MATCH(User_ID,USER_ID_Parameter) AND REGEXP_MATCH(Password,Password_Parameter) THEN 1
ELSE 0
END
Then create a new filter to the chart that you want to hide:
To include the above calculated field Equal to 1
Second option is to use the Data Studio default Row Level Security
The only caveat is the users need to sign in before they can view the report.

Creating user management system in Node js

I have a requirement for hierarchical user management system
where I have 3 hierarchies:
User
Manager
Admin
Now, Admin should be able to get a list as well as edit registrations with role 'User' as well as those with role 'Manager'.
'Manger' should be able to get a list of of registrations with role 'Users' and should be able to edit them.
I had thought of proceeding like:
router.get('/:role',auth.isAuthenticated(),auth.hasRole('admin'), users.findByRole);
where hasRole defines the minimum level of role required to access/edit the data.
However, I do not want a Manager to be able to get the List of admins or edit the list of admins.
It should have access to users list only.
This links suggests using bitwise operatorsbut I am pretty confused with the idea of integrating this piece of code with backend i.e saving and retrieving data from mongo db . Can I please get some pointers?
Look at this project: https://github.com/arthurkao/angular-drywall
This is good MEAN-stack based web app template with user management.

How to give the permission to each user in winforms using c#

How to give the User permission in winform?
For Example
My application is based on retail shops,so the every employee having username and password,the Super Admin(Manager) he needs to give the permission to each user
NOT all employees have the full rights to access all the forms.
In each forms they have to access only selected controls only
for ex. User x have permission only for ADD and Edit only, but not To delete the record.
The User x not suppose enter discount more than 25%
The Super Admin Have the permission to allow access to every employee.
In this I need some logic references
may grateful.
As Somewhere Mentioned above you need a role based architecture.
In your database Of users you should include role column.
At the time of user log in you have to get role of of the user having particular
user name and password and store in some global static variable which can be used throughout
application.
And according to role,set visibility true or false for each form on form load method.
you should develop a Role-Base windows application. This tutorial describe what you need
i hope it helps you

What database table is the Magento Contact Us Email Options stored in?

For an application I am writing, I need to know where some of the settings in the Admin Panel are being stored in a table on the database. Specifically, if one is logged into the Admin Panel, under System->Configuration->Contacts->Email Options, there are three select boxes "Send Emails To", "Email Sender" and "Email Template".
I can't seem to find what table the currently selected options are stored in. I want to do this since I am creating a transactional email via install script (I was able to find that transactional emails are stored under core_email_template), and would like it to be selected by default via my install script along with the default email being changed.I assumed that the currently selected options are somewhere on the database, I just can't seem to find where for the life of me!
I was hoping that someone would know where these settings were stored, or if someone could share some strategies to find out which table(s) hold information like this.
Thank you for any help you can offer.
It is in the core_config_data table

Drupal 7 adding bulk users to group or roles

Is there a way to bulk add users to roles or group in Drupal 7.
I want to add users based on Profile 2 field(s) on filters like (Gender=Male and Age>=18) and so on.
I need to do this in order for Drupal content to be accessible to a specific group(s) or role(s) only.
I went through some modules (http://drupal.org/project/content_access, http://drupal.org/project/simple_access) but I'm really confused, on what suits best.
Try User Import Framework which allows you to use a CSV file to create new users and assign roles

Resources