Jmcarrasc0.ActiveDirectory.Consult 1.0.1

dotnet add package Jmcarrasc0.ActiveDirectory.Consult --version 1.0.1                
NuGet\Install-Package Jmcarrasc0.ActiveDirectory.Consult -Version 1.0.1                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Jmcarrasc0.ActiveDirectory.Consult" Version="1.0.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Jmcarrasc0.ActiveDirectory.Consult --version 1.0.1                
#r "nuget: Jmcarrasc0.ActiveDirectory.Consult, 1.0.1"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Jmcarrasc0.ActiveDirectory.Consult as a Cake Addin
#addin nuget:?package=Jmcarrasc0.ActiveDirectory.Consult&version=1.0.1

// Install Jmcarrasc0.ActiveDirectory.Consult as a Cake Tool
#tool nuget:?package=Jmcarrasc0.ActiveDirectory.Consult&version=1.0.1                

Jmcarrasc0 - ActiveDirectory.Consult

<a href="https://www.patreon.com/join/jmcarrasc0?"><img src="https://i.postimg.cc/hPcgmRWQ/jmcarrasc0-logo.png" alt="jmcarrasco logo" ></a>

ActiveDirectory.Consult is a nuget package based on .NET for Active Directory user queries and application authentication.

Quick install

Mail.Sending is constantly in development! Try it out now:

NuGet

PM> Install-Package Jmcarrasc0.ActiveDirectory.Consult -Version 1.0.1

or

.NET CLI

> dotnet add package Jmcarrasc0.ActiveDirectory.Consult --version 1.0.1

PackageReference

<PackageReference Include="Jmcarrasc0.ActiveDirectory.Consult" Version="1.0.1" />

Paket CLI

> paket add Jmcarrasc0.ActiveDirectory.Consult --version 1.0.1

Script & Interactive

> #r "nuget: Jmcarrasc0.ActiveDirectory.Consult, 1.0.1"

Cake

// Install Jmcarrasc0.ActiveDirectory.Consult as a Cake Addin
#addin nuget:?package=Jmcarrasc0.ActiveDirectory.Consult&version=1.0.1

// Install Jmcarrasc0.ActiveDirectory.Consult as a Cake Tool
#tool nuget:?package=Jmcarrasc0.ActiveDirectory.Consult&version=1.0.1

<br> <br>

How to use it

It is very easy to implement

C#


using Jmcarrasc0.ActiveDirectory.Consult;

/// <summary>
/// Function to obtain data by user
/// </summary>
void GetUserActiveDirectorybyUsrName(string user, string ldap)
{
    var ad = new ActiveDirectory();

    var result = ad.GetUserActiveDirectorybyUsrName(user, ldap);
}

/// <summary>
/// Function to List all users in Active Directory
/// </summary>
void GetListUserActiveDirectory(string ldap)
{
    var ad = new ActiveDirectory();

    var result = ad.GetListUserActiveDirectory(ldap);
}

/// <summary>
/// Function to login with Active Directory
/// </summary>
void LoginActiveDirectory(string userName, string pass, string ldap, string domainName)
{
    var ad = new ActiveDirectory();

    var result = ad.LoginActiveDirectory(userName,pass,ldap,domainName);
}


<br> <br>

VB.NET


Imports Jmcarrasc0.ActiveDirectory.Consult;

'Function to obtain data by user

    Private Sub GetUserActiveDirectorybyUsrName(ByVal user As String, ByVal ldap As String)
        Dim ad = New ActiveDirectory()
        Dim result = ad.GetUserActiveDirectorybyUsrName(user, ldap)
    End Sub

'Function to List all users in Active Directory

    Private Sub GetListUserActiveDirectory(ByVal ldap As String)
        Dim ad = New ActiveDirectory()
        Dim result = ad.GetListUserActiveDirectory(ldap)
    End Sub

'Function to login with Active Directory

    Private Sub LoginActiveDirectory(ByVal userName As String, ByVal pass As String, ByVal ldap As String, ByVal domainName As String)
        Dim ad = New ActiveDirectory()
        Dim result = ad.LoginActiveDirectory(userName, pass, ldap, domainName)
    End Sub
        

<br> <br>

Compatibily Support

Mail.Sending is a nuget package compatible with the following Frameworks

  • .NET 6
  • .NET 5
  • .NET Core 3.1

<br> <br>

Code copyright 2022 Juan Carrasco. Code released under the MIT license.

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.1 475 3/28/2022
1.0.0 428 3/28/2022

Ajuste en la funciones de consulta