ERPNext Conference 2019* ERPNext.com Blog

Permission role for Employee


#1

Im trying set a permission role for an user, but when i try save the document is showing an message and i don’t know what i have to do:

Please set User ID field in an Employee record to set Employee Role


#2

In Employee doctype (your_host_name/desk#List/Employee you should choose/create new Employee) and User Id field, save it and then update User document


#3

Thank you! @NMyshuk


#4

After create new employee I cant login by ldap user. Again showing “Please set User ID field in an Employee record to set Employee Role” . My ERP version 11.1.44
Could you help me?


#5

open your Employee document and look for the field User Id and fill it


#6

Is it?


#7

Hello, @masud1

You have to go to the employee document which you have created.

There you can find a section called “ERPNEXT USER”, in that field you have to select the user id of that employee and then save the document.

Please refer the screenshot below.

Hope this helps

Thanks & Regards,
Sujay


#8

Already I did it ,but still now I can’t login by LDAP user. Thanks


#9

have you set LDAP Settings in your system?


#10

This is my latest erpnext LDAP setup and this setup works fine in my v11.1.11