'Show "Microsoft Active Directory" information table in WordPress
I have a spreadsheet in Microsoft Active Directory Now I want to display the information in this table in WordPress I came across this plugin according to the searches I did But this plugin also does not have the ability to display information registered in Active Directory What method or plugin do you think I should use to display Active Directory registered information in WordPress?
Solution 1:[1]
You have to call the Graph API to display user informatiom. This document is a good starting point.For example:
public function loadViewData()
{
$viewData = [];
// Check for flash errors
if (session('error')) {
$viewData['error'] = session('error');
$viewData['errorDetail'] = session('errorDetail');
}
// Check for logged on user
if (session('userName'))
{
$viewData['userName'] = session('userName');
$viewData['userEmail'] = session('userEmail');
$viewData['userTimeZone'] = session('userTimeZone');
}
return $viewData;
}
Please let me know if you have any questions.
Best, James
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | James_Hamil-MSFT |