Get/Query Active Directory user information
As a developer I need access to the current logged in active directory user to check if the user has a specific role.
Normally I do this with:
WindowsIdentity currentUser = WindowsIdentity.GetCurrent();
var groups = currentUser.Groups;
So I can get the SID or the groups of the user.
Most companies want to control the access of the user by the active directory. The enterprise application uses this information whether a user got access or not.
If there is no api to access this information, enterprise application development with uwp becomes uninteresting. Please help us out!
Currently being tracked on https://github.com/dotnet/corefx/issues/2089
Thanks Ron Cain, Issue was moved to CoreFX https://github.com/dotnet/corefx/issues/7325
Enterprise applications rely on Active Directory authentication. It would benefit IT professionals to be able to query Active Directory for user accounts in order to create enterprise tools.
For example in Win32 apps, I can query AD for a user and quickly pull details from their account, such as group memberships, sAMAccountName, address information, manager, title, etc. From that simple query I can then quickly export the data to streamline data entry into other tools or automate those processes. I can also manipulate the results for other data entry, or reporting automation tasks.
Ron Cain commented
Thanks for the feedback. We appreciate hearing requests like yours.
WCF for UWP is under active OSS development at https://github.com/dotnet/wcf.
I opened a new issue with your suggestion at https://github.com/dotnet/wcf/issues/909 .
Feel free to open new issues (https://github.com/dotnet/wcf/issues/new) or add comments directly to the one I added. To help us prioritize work, we'd love to hear as much specific information as you can provide about which features your UWP WCF app needs that aren't available to you.