BizDoc.Core.DirectoryServices 6.7.13

There is a newer version of this package available.
See the version list below for details.
dotnet add package BizDoc.Core.DirectoryServices --version 6.7.13                
NuGet\Install-Package BizDoc.Core.DirectoryServices -Version 6.7.13                
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="BizDoc.Core.DirectoryServices" Version="6.7.13" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add BizDoc.Core.DirectoryServices --version 6.7.13                
#r "nuget: BizDoc.Core.DirectoryServices, 6.7.13"                
#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 BizDoc.Core.DirectoryServices as a Cake Addin
#addin nuget:?package=BizDoc.Core.DirectoryServices&version=6.7.13

// Install BizDoc.Core.DirectoryServices as a Cake Tool
#tool nuget:?package=BizDoc.Core.DirectoryServices&version=6.7.13                

Directory Services for BizDoc

Configure

IIS

Install and enable Window Authentication.

Configure app web.config:

<system.web>
    <authentication mode="Windows" />
    <roleManager enabled="true" defaultProvider="AspNetWindowsTokenRoleProvider" />
</system.web>

Application pool identity. File system read / write to /Profiles and administrator write to bizdoc.json file(s) and /Backups.

Integrate

In program.cs

builder.Services.AddBizDoc().
	AddDirectoryServices();

app.UseBizDoc().UseDirectoryServices();

To list only users of a a domain group, set the UserGroupName option:

AddDirectoryServices(options => {
    options.UserGroupName = "users-group-here";
});

See Get-ADGroup on how to get the SID of a group.

Choose one of two patterns:

Employee Identity

Use the employee id.

builder.Service.AddBizDoc(options => {
    options.IdentityClaimType = DirectoryServicesClaimTypes.EmployeeId;
}).
AddDirectoryServices(options => {
}, configure => configure.UseEmployeeIdentityProvider());
Identity Type
builder.Service.AddBizDoc(options => {
}).
AddDirectoryServices(options => {
}, configure => configure.UseIdentityTypeProvider());

By default, BizDoc uses Windows principal Sid as user identity. Provide IdentityType to override this behavior.

Set IdentityClaimType on AddBizDoc options to require BizDoc to use the equivalent claim.

builder.Service.AddBizDoc(options => {
    options.IdentityClaimType = ClaimTypes.X500DistinguishedName;
}).
AddDirectoryServices(options => {
}, configure => configure.UseIdentityTypeProvider(IdentityType.DistinguishedName));

Available claims:

Identity Type Claim Type
- none - DirectoryServicesClaimTypes.EmployeeId
IdentityType.SamAccountName DirectoryServicesClaimTypes.SamAccountName
IdentityType.UserPrincipalName DirectoryServicesClaimTypes.UserPrincipalName
IdentityType.Guid DirectoryServicesClaimTypes.Guid
- none - ClaimTypes.Email
IdentityType.Sid ClaimTypes.Sid
IdentityType.DistinguishedName ClaimTypes.X500DistinguishedName

BizDoc system privileges

Users who need to access BizDoc as administrators should have a dedicated domain group. Set the SystemGroupName option.

AddDirectoryServices(options => {
    SystemGroupName = "group-sid-here";
});

See Get-ADGroup on how to get the SID of a group.

You can set the SystemRole as an alternative to one of Windows built-in roles, such as machine administrator.

Components

Departments type.

Widgets

Staff Pending.

Staff Performance.

Departments Performance.

Rules

Document Owner Groups.

Angular

In /ClientApp

npm i @bizdoc/windows

In app.module.ts

@NgModule({
    imports: [
        BizDocModule.forRoot({}),
        WindowsModule.forRoot()
    ]
})
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
6.8.0 850 10/16/2022 6.8.0 is deprecated because it is no longer maintained.
6.7.17 808 11/8/2022 6.7.17 is deprecated because it is no longer maintained.
6.7.16 838 8/2/2022 6.7.16 is deprecated because it is no longer maintained.
6.7.15 847 7/26/2022 6.7.15 is deprecated because it is no longer maintained.
6.7.14 866 7/25/2022 6.7.14 is deprecated because it is no longer maintained.
6.7.13 838 7/25/2022 6.7.13 is deprecated because it is no longer maintained.
6.7.12 848 7/24/2022 6.7.12 is deprecated because it is no longer maintained.
6.7.11 884 7/20/2022 6.7.11 is deprecated because it is no longer maintained.
6.7.10 821 7/19/2022 6.7.10 is deprecated because it is no longer maintained.
6.7.9 837 7/19/2022 6.7.9 is deprecated because it is no longer maintained.
6.7.8 837 7/19/2022 6.7.8 is deprecated because it is no longer maintained.
6.7.7 895 7/17/2022 6.7.7 is deprecated because it is no longer maintained.
6.7.6 870 7/17/2022 6.7.6 is deprecated because it is no longer maintained.
6.7.1 853 7/14/2022 6.7.1 is deprecated because it is no longer maintained.
6.7.0 860 7/14/2022 6.7.0 is deprecated because it is no longer maintained.
6.6.1 893 7/3/2022 6.6.1 is deprecated because it is no longer maintained.
6.6.0 837 6/6/2022 6.6.0 is deprecated because it is no longer maintained.
6.5.0 887 5/24/2022 6.5.0 is deprecated because it is no longer maintained.
6.4.0 903 3/22/2022 6.4.0 is deprecated because it is no longer maintained.
6.3.0 877 2/10/2022 6.3.0 is deprecated because it is no longer maintained.
6.0.2 732 12/14/2021 6.0.2 is deprecated because it is no longer maintained.
6.0.1 729 11/13/2021 6.0.1 is deprecated because it is no longer maintained.
6.0.0 721 11/10/2021 6.0.0 is deprecated because it is no longer maintained.
5.3.2 730 10/14/2021 5.3.2 is deprecated because it is no longer maintained.
5.3.1 808 10/12/2021 5.3.1 is deprecated because it is no longer maintained.
5.3.0 770 10/12/2021 5.3.0 is deprecated because it is no longer maintained.
5.2.0 758 9/22/2021 5.2.0 is deprecated because it is no longer maintained.
5.1.5 799 8/10/2021 5.1.5 is deprecated because it is no longer maintained.
5.1.4 768 8/10/2021 5.1.4 is deprecated because it is no longer maintained.
5.1.3 752 7/15/2021 5.1.3 is deprecated because it is no longer maintained.
5.1.2 807 5/12/2021 5.1.2 is deprecated because it is no longer maintained.
5.1.1 731 4/1/2021 5.1.1 is deprecated because it is no longer maintained.
5.0.4 866 3/9/2021 5.0.4 is deprecated because it is no longer maintained.
5.0.3 797 2/13/2021 5.0.3 is deprecated because it is no longer maintained.
5.0.2 868 1/13/2021 5.0.2 is deprecated because it is no longer maintained.
5.0.0 900 12/31/2020 5.0.0 is deprecated because it is no longer maintained.
3.2.1 974 11/25/2020 3.2.1 is deprecated because it is no longer maintained.
3.2.0 885 11/25/2020 3.2.0 is deprecated because it is no longer maintained.
3.1.4 993 9/4/2020 3.1.4 is deprecated because it is no longer maintained.
3.1.3 1,069 1/16/2020 3.1.3 is deprecated because it is no longer maintained.
3.0.2 1,011 12/16/2019 3.0.2 is deprecated because it is no longer maintained.
3.0.0 1,003 11/11/2019 3.0.0 is deprecated because it is no longer maintained.
1.0.1 1,120 6/6/2019 1.0.1 is deprecated because it is no longer maintained.
1.0.0 1,128 5/26/2019 1.0.0 is deprecated because it is no longer maintained.