BizDoc.Authentication.DirectoryServices
10.0.0
dotnet add package BizDoc.Authentication.DirectoryServices --version 10.0.0
NuGet\Install-Package BizDoc.Authentication.DirectoryServices -Version 10.0.0
<PackageReference Include="BizDoc.Authentication.DirectoryServices" Version="10.0.0" />
<PackageVersion Include="BizDoc.Authentication.DirectoryServices" Version="10.0.0" />
<PackageReference Include="BizDoc.Authentication.DirectoryServices" />
paket add BizDoc.Authentication.DirectoryServices --version 10.0.0
#r "nuget: BizDoc.Authentication.DirectoryServices, 10.0.0"
#:package BizDoc.Authentication.DirectoryServices@10.0.0
#addin nuget:?package=BizDoc.Authentication.DirectoryServices&version=10.0.0
#tool nuget:?package=BizDoc.Authentication.DirectoryServices&version=10.0.0
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.
builder.Service.AddBizDoc(options => {
}).
AddDirectoryServices(options => {
}, configure => configure.UseIdentityTypeProvider());
By default, BizDoc uses Windows principal Sid as user identity. Provide an IdentityClaimType to AddBizDoc options to require BizDoc to use a different property.
builder.Service.AddBizDoc(options => {
options.IdentityClaimType = ClaimTypes.X500DistinguishedName;
});
Available claims:
| Claim Type |
|---|
| DirectoryServicesClaimTypes.EmployeeNumber |
| DirectoryServicesClaimTypes.SamAccountName |
| DirectoryServicesClaimTypes.UserPrincipalName |
| DirectoryServicesClaimTypes.Guid |
| ClaimTypes.Email |
| ClaimTypes.Sid |
| 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
Types
OrganizationUnits DirectoryGroups Departments Sites Domains
Widgets
Staff Pending.
Staff Peers.
Departments Performance.
Groups Performance.
Rules
Owner Groups - array. Owner Custom Attribute - Property Name.
Attribute
Owner Department - Departments. Owner Custom Attribute - Property Name. Owner Organization Unit Owner Company
Workflow
Direct Manager.
Angular
In /ClientApp
npm i @bizdoc/windows
In app.module.ts
@NgModule({
imports: [
BizDocModule.forRoot({}),
WindowsModule.forRoot()
]
})
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0-windows7.0 is compatible. |
-
net10.0-windows7.0
- BizDoc.Core (>= 10.0.0)
- Microsoft.AspNetCore.Authentication.Negotiate (>= 10.0.1)
- System.DirectoryServices (>= 10.0.1)
- System.DirectoryServices.AccountManagement (>= 10.0.1)
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 |
|---|---|---|
| 10.0.0 | 88 | 1/6/2026 |
| 9.1.0 | 171 | 7/27/2025 |
| 9.0.1 | 194 | 6/20/2025 |
| 9.0.0 | 304 | 5/15/2025 |
| 8.5.1 | 156 | 2/27/2025 |
| 8.3.1 | 170 | 10/13/2024 |
| 8.3.0 | 150 | 7/29/2024 |
| 8.2.18 | 176 | 5/28/2024 |
| 8.2.17 | 161 | 5/14/2024 |
| 8.2.16 | 177 | 5/7/2024 |
| 8.2.14 | 168 | 2/20/2024 |
| 8.2.13 | 199 | 2/7/2024 |
| 8.2.11 | 187 | 1/17/2024 |
| 8.2.10 | 183 | 1/12/2024 |
| 7.2.10 | 241 | 12/29/2023 |
| 7.2.7 | 219 | 12/23/2023 |
| 7.2.3 | 229 | 11/28/2023 |
| 7.2.2 | 184 | 11/26/2023 |
| 7.2.1 | 203 | 11/23/2023 |
| 7.2.0 | 194 | 11/21/2023 |
| 7.1.2 | 160 | 11/21/2023 |
| 7.0.2 | 307 | 4/11/2023 |
| 7.0.1 | 309 | 3/30/2023 |
| 7.0.0 | 443 | 11/28/2022 |
| 6.8.14 | 478 | 11/8/2022 |
| 6.8.13 | 458 | 11/6/2022 |
| 6.8.12 | 502 | 10/31/2022 |
| 6.8.11 | 522 | 10/27/2022 |
| 6.8.10 | 490 | 10/27/2022 |
| 6.8.9 | 539 | 10/26/2022 |
| 6.8.6 | 486 | 10/24/2022 |
| 6.8.5 | 508 | 10/24/2022 |
| 6.8.4 | 582 | 10/20/2022 |