How to get user profile from Active Directory?
-
- Posts: 5
- Joined: Fri Jan 30, 2015
Hi,
I am new to SP Forms and need help.
Previously I don't have an issue to get user profile from Active Directory as I used InfoPath form. Now I'm stuck in customizing simple form to make my annual leave form as auto-fill with data such as Employee Name, Employee Number, Employed Date, Department etc...
Already googling but no solution found.
Any idea?
I am new to SP Forms and need help.
Previously I don't have an issue to get user profile from Active Directory as I used InfoPath form. Now I'm stuck in customizing simple form to make my annual leave form as auto-fill with data such as Employee Name, Employee Number, Employed Date, Department etc...
Already googling but no solution found.
Any idea?
- Dmitry Kozlov
- Site Admin
- Posts: 1524
- Joined: Thu Jun 07, 2012
Hi,
You can retrieve user profile properties with the help of JSOM and populate fields by using our JS-framework:
https://msdn.microsoft.com/en-us/librar ... e.15).aspx
You can retrieve user profile properties with the help of JSOM and populate fields by using our JS-framework:
https://msdn.microsoft.com/en-us/librar ... e.15).aspx
-
- Posts: 5
- Joined: Fri Jan 30, 2015
Forgot to inform that I'm using SharePoint Foundation 2013 right now. Does your link solution can be apply to Foundation also?
- Dmitry Kozlov
- Site Admin
- Posts: 1524
- Joined: Thu Jun 07, 2012
If you need to retrieve properties that do not exist in the User Information List, you can synchronize a custom list with Active Directory with the help of simple console application that starts on schedule:
http://ranaictiu-technicalblog.blogspot ... r.html?m=1
And then retrieve data from the list via JavaScript.
http://ranaictiu-technicalblog.blogspot ... r.html?m=1
And then retrieve data from the list via JavaScript.
-
- Posts: 5
- Joined: Fri Jan 30, 2015
Can you show my step by step esspecially the coding. I have no idea where to execute the source code as the given link also did not mention where it is.
-
- Information
-
Who is online
Users browsing this forum: No registered users and 10 guests