- What is your product version? 10.2
- What is your product type (Angular or MVC)? Angular
- What is product framework type (.net framework or .net core)? .net core
3 Answer(s)
-
0
Hi @tcarlson,
I'm not sure how you want to use it but you can replace https://github.com/aspnetboilerplate/aspnetboilerplate/blob/dev/src/Abp.Zero.Ldap/Ldap/Authentication/LdapAuthenticationSource.cs with your own implementation and modift LDAP integration.
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
Hi @ismcagdas,
Thanks for the response. I am looking to map Active Directory roles to ASP .Net Zero roles. Is there a recommenmded way to do this?
Thanks
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
Hi,
If you only want to retrieve roles fron AD when user logins, then you can do it in your custom
LdapAuthenticationSource.csimplementation. You can add roles to user when LdapAuthenticationSource tries to create a user here https://github.com/aspnetboilerplate/aspnetboilerplate/blob/dev/src/Abp.Zero.Ldap/Ldap/Authentication/LdapAuthenticationSource.cs#L53.As an alternative, you can create a background worker and periodically update user roles.
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image)