Cake Addin for working with Active Directory.
If you like or are using this project please give it a star. Thanks!
Stable | Pre-release | |
---|---|---|
GitHub Release | - | |
NuGet | ||
To build this package we are using Cake.
On Windows PowerShell run:
./build
This Addin only contains the functionality that we needed. We are more than happy to accept pull requests that will grow this library. It uses the LandPy.ActiveDirectory library for all Active Directory interaction.
//Beta version
#addin nuget:https://www.myget.org/F/beta-builds/api/v2?package=Cake.ActiveDirectory
// Release version
#addin nuget:?package=Cake.ActiveDirectory
CreateUser("cake-user", "cake-group", new UserSettings {
LoginName = "domainAdmin",
Password = "adminPassword",
DomainName = "Cake.net"});
UpdateUser("employeeId", "1234", new UserSettings {
LoginName = "domainAdmin",
Password = "adminPassword",
DomainName = "Cake.net",
Email = "test@cake-yeah.com" });
var upn = FindUserPrincipalNameByProperty("proxyAddresses", "jdoe@example.com", new UserSettings {
LoginName = "domainAdmin",
Password = "adminPassword",
DomainName = "Cake.net" });
For questions and to discuss ideas & feature requests, use the GitHub discussions on the Cake GitHub repository, under the Extension Q&A category.
Click on the Releases tab on GitHub.
Copyright © 2017-2021 Cake Contributors - Provided under the MIT License.