I was just made aware of this amazing open source Service Client for Forefront Identity Manager or Microsoft Identity Manager, called the “Lithnet FIM Service Client”.
If you want to extend the capabilities of FIM/MIM using abstracted APIs, eliminating the need to recompile the libraries every time you upgrade the servers, this is the library you want to get.
At Microsoft for example, we have a site called “IDWebElements” that accepts inputs from the URL submitted plus the user’s identity that enables people to join groups or remove themselves from groups in just a single click of a link. This library can help you help accomplish the same thing with much less code.
Taken from the doc article:
The Lithnet FIM Service Client
is a .NET Library that makes it easy for anyone to program against the FIM web service using any .NET language. It supports create, update, delete, and search operations against the FIM service.
The library has a similar purpose to the FIM 2010 Client
, but abstracts away the particulars of the SOAP web service implementation into a robust object model. The development of the FIM 2010 client was abandoned some time ago and unfortunately, the client suffers from a number of bugs and performance issues. This library is not intended to be a drop-in replacement for that library. It is a complete re-write with a new API and more approachable way of working with the objects in the FIM service.
The Lithnet Resource Management Client is designed to be easy to use and help you get started quickly.
- First, create a new project in Visual Studio
- Ensure Microsoft.ResourceManagement.dll is registered in the GAC (you can find this on your FIM service server)
- Install the nuget package
from the Package Manager Console in Visual Studio
- Update the app.config or web.config file to point to your FIM service server
If you are using either Forefront Identity Manager 2010 or Microsoft Identity Manager, and want to orchestrate it or extend it’s self-service functionality, you need to check this library out.
- DOWNLOAD: Lithnet FIM Service Client
https://github.com/lithnet/resourcemanagement-client
(Old location: http://lithnetrmc.codeplex.com/) - SAMPLE CODE & ARTICLE: FIM 2010: Programmatic access to FIM Service with Lithnet FIM Service Client library
https://social.technet.microsoft.com/wiki/contents/articles/32015.fim-2010-programmatic-access-to-fim-service-with-lithnet-fim-service-client-library.aspx