How to query internal AD from Portable Class Library (PCL)

I need to validate a user alias provided in an Windows Store app against my company's internal AD. The code for this should be defined in a PCL.

In full .Net I'd use System.DirectoryServices.AccountManagement.PrincipalContext to achieve that. Is there a way to achieve the same in a PCL?

Category:active directory Time:2018-12-05 Views:1

Related post

  • How to check running platform in Portable Class Library? 2014-05-26

    We have created Single Portable Class Library(PCL) that contain WinRT and Windows Phone code,is there any way to find code is running in device(WP) or (Tablet or Desktop). Note:We can't able to add condition compilation symbol because we are using si

  • How to Read Application.Setting from referenced Class Library 2010-09-08

    Scenario: I have 2 Projects, MainApplication (which compiles to an exe) and ClassLibrary1. Now MainApplication references or loads ClassLibrary1, but ClassLibrary1 has no idea about MainApplication. But I want to use Settings (Dot.Net 2.0's Propertie

  • How to call WCF service from .NET class library 2010-10-29

    I have a WCF web service built in .NET 4.0 that is configured to require a username/password on each call and uses a Server certificate in the behaviour to encrypt the request. It currently uses wsHttpBinding. I have a .NET 4 utility app that lets me

  • How access a custom config from my class library application? 2011-09-30

    I have a custom config in my Infrastructure Project, but when my app start only my web.config is recognized. I don't want to place the configuration of this custom config file in my web.config because this configuration is responsability for Infrastr

  • Access String Resource from different Class Library 2012-02-13

    I would like to know how to load string resource from another class library. Here is my structure. Solution\ CommonLibrary\ EmbeddedResource.resx MainGUI\ If I get the string on classes of CommonLibrary I just use EmbeddedResource.INFO_START_MSG but

  • Use MessageDialog/MessageBox with Portable Class Library and MVVM Light 2013-07-24

    I´m developing an App that will be available for Windows Phone 8 and the Windows Store. To reduce redundancy I´m using a Portable Class Library (PCL) and on top of that I'm trying to apply the MVVM pattern with the help of the MVVM Light PCL Toolkit.

  • Consume web service in asp.net app from a class library 2011-02-16

    My team and I have a asp.net web forms application and are using several class libraries. In one of those libraries, we are trying to consume a web service. The web reference was added in the web app project and the appropriate references have been a

  • How to remove internal interfaces from class help page generated with Sandcastle or SHFB? 2011-12-27

    I have a class that implements many internal interfaces and I would like that documentation reader cannot see that class implements all those internal interfaces because this information is irrelevant for the readers. For example, if I have the follo

  • How to read/write from file, In Portable Class Library (dll)? 2015-02-04

    I am build a dll called TdlElement in vb.net. One of the functions in that class need to write a string to file (I have the full file name and the string), well in Windows form application or Console application project I can use - Public Sub WriteTo

  • How to pass a DataTable from a class to a page 2011-11-04

    I'm learning about classes in C# and am trying to build a "DataAccessClass". I have a working "OpenSqlConnection" void and am using it as a guide to build a "OpenSqlDatareader" void. I am attempting to consolidate all my database calls in this class.

  • Use MSQuery to query 'Internal' Data from tables (or named range) within the current Active workbook - Excel 2007 2013-05-04

    For several years I have been using MS Query to query 'internal' data from within a named range or worksheet within the current workbook. This worked great until about 6 months ago. The only problem is you had to identify the excel workbook's direct

  • access EF classes from a Class Library - exactly how do configure/test the connection string in the client? (getting errors) 2010-04-30

    I'm getting very confused about how to call my EF classes in a Class Library from the Client Project I have? Things worked fine when they were in the same project. Now I'm getting errors such as "Unable to load the specified metadata resource ". I've

  • How to query MS Access from SQL Server (not through DTS wizard) 2011-08-23

    Need to bring in data from MS Access and wanted to know how to query MS Access from SQL Server not through DTS wizard. Please tell me how to query MS Access database files directly from SQL Server. Specifically i’d like to be able to query the tables

  • What is a Portable Class Library? 2011-03-08

    On MSDN I noticed a section about a Portable Class Library, under Version Information. See System.Object for an example. http://msdn.microsoft.com/en-us/library/system.object.aspx I did a brief Google search and couldn't find anything about the Porta

  • Access web.config from separate Class Library? 2011-10-04

    I'm looking for a good way to achieve the following: I have a web application (MVC 3), with a separate Class Library that contains the back-end logic of a CMS that I'm making. This CMS uses NHibernate to connect to a database. I want the user to be a

  • Portable class library for shared [DataContract] class 2011-11-25

    This is probably a real simple one. I wished to create some code inside a [DataContract] class which is used to communicate information between a WCF service and consuming application. I created a new Portable Class Library project and created inside

  • FileNotFoundException in Portable Class Library? 2011-12-19

    I have 3 assemblies, a WP7 app (targeting 7.0), a Web Services project (running 4.0), and a Portable Class Library (built from the template & targeting WP7, SL4 & .NET 4.0) which contains a common type used between the first two. When run loc

  • Portable Class Library - target Silverlight 5 2012-02-16

    The "change target framework" dialog in the portable class library properties has a link pointing to this page: http://msdn.microsoft.com/en-us/hh487282.aspx Said page indicates that there is a silverlight 5 'targeting pack' included in 'Silverlight

  • Error creating NuGet package for Portable Class Library 2014-05-15

    I'm new to Nuget and I'm trying to create a NuGet package for a Portable Class Library project that has a package dependency on another portable class library I've created. I'm running into an issue where I'm receiving an error when calling nuget pac

Copyright (C) pcaskme.com, All Rights Reserved.

processed in 6.009 (s). 15 q(s)