BizDoc.Core.DirectoryServices
6.7.9
See the version list below for details.
dotnet add package BizDoc.Core.DirectoryServices --version 6.7.9
NuGet\Install-Package BizDoc.Core.DirectoryServices -Version 6.7.9
<PackageReference Include="BizDoc.Core.DirectoryServices" Version="6.7.9" />
paket add BizDoc.Core.DirectoryServices --version 6.7.9
#r "nuget: BizDoc.Core.DirectoryServices, 6.7.9"
// Install BizDoc.Core.DirectoryServices as a Cake Addin #addin nuget:?package=BizDoc.Core.DirectoryServices&version=6.7.9 // Install BizDoc.Core.DirectoryServices as a Cake Tool #tool nuget:?package=BizDoc.Core.DirectoryServices&version=6.7.9
Directory Services for BizDoc
Configure
IIS
Install and enable Window Authentication on IIS.
Setup web.config:
<system.web>
<authentication mode="Windows" />
<roleManager enabled="true" defaultProvider="AspNetWindowsTokenRoleProvider" />
</system.web>
Web App
In program.cs
builder.Services.AddBizDoc().
AddDirectoryServices();
app.UseBizDoc().UseDirectoryServices();
By default, BizDoc uses Windows principal Sid as user identity. Set the IdentityType on the AddDirectoryServices options to override this behavior.
Set IdentityClaimType on AddBizDoc options to require BizDoc to use that pattern when authenticating user.
To list only users of a a domain group, set the UserGroupName option:
AddDirectoryServices(options => {
}, configure => {
});
Choose one of two patterns:
Employee Identity
builder.Service.AddBizDoc(options => {
options.IdentityClaimType = DirectoryServicesClaims.EmployeeIdClaimType;
}).
AddDirectoryServices(options => {
}, configure => configure.UseEmployeeIdentityProvider());
SId
builder.Service.AddBizDoc(options => {
}).
AddDirectoryServices(options => {
}, configure => configure.UseIdentityTypeProvider());
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.
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 | 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. |
-
- System.DirectoryServices (>= 6.0.0)
- System.DirectoryServices.AccountManagement (>= 6.0.0)
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 | 854 | 10/16/2022 | |
6.7.17 | 813 | 11/8/2022 | |
6.7.16 | 842 | 8/2/2022 | |
6.7.15 | 851 | 7/26/2022 | |
6.7.14 | 870 | 7/25/2022 | |
6.7.13 | 842 | 7/25/2022 | |
6.7.12 | 852 | 7/24/2022 | |
6.7.11 | 888 | 7/20/2022 | |
6.7.10 | 825 | 7/19/2022 | |
6.7.9 | 841 | 7/19/2022 | |
6.7.8 | 841 | 7/19/2022 | |
6.7.7 | 899 | 7/17/2022 | |
6.7.6 | 874 | 7/17/2022 | |
6.7.1 | 857 | 7/14/2022 | |
6.7.0 | 864 | 7/14/2022 | |
6.6.1 | 897 | 7/3/2022 | |
6.6.0 | 841 | 6/6/2022 | |
6.5.0 | 891 | 5/24/2022 | |
6.4.0 | 907 | 3/22/2022 | |
6.3.0 | 883 | 2/10/2022 | |
6.0.2 | 736 | 12/14/2021 | |
6.0.1 | 733 | 11/13/2021 | |
6.0.0 | 725 | 11/10/2021 | |
5.3.2 | 734 | 10/14/2021 | |
5.3.1 | 812 | 10/12/2021 | |
5.3.0 | 774 | 10/12/2021 | |
5.2.0 | 762 | 9/22/2021 | |
5.1.5 | 803 | 8/10/2021 | |
5.1.4 | 772 | 8/10/2021 | |
5.1.3 | 758 | 7/15/2021 | |
5.1.2 | 811 | 5/12/2021 | |
5.1.1 | 735 | 4/1/2021 | |
5.0.4 | 870 | 3/9/2021 | |
5.0.3 | 801 | 2/13/2021 | |
5.0.2 | 872 | 1/13/2021 | |
5.0.0 | 904 | 12/31/2020 | |
3.2.1 | 978 | 11/25/2020 | |
3.2.0 | 889 | 11/25/2020 | |
3.1.4 | 997 | 9/4/2020 | |
3.1.3 | 1,073 | 1/16/2020 | |
3.0.2 | 1,015 | 12/16/2019 | |
3.0.0 | 1,007 | 11/11/2019 | |
1.0.1 | 1,124 | 6/6/2019 | |
1.0.0 | 1,132 | 5/26/2019 |