AI OnAI Off
Short answer, you won't, not without coding anyway. Roles are virtual since cms 12 and you map them to your incomming role claim. It's all in here, https://docs.developers.optimizely.com/content-management-system/docs/virtual-roles
I cannot find any good example how to get AD groups selectable for content. Do you have any good example? I'm not sure the documentation covers it all?
Thanks!
/Kristoffer
Assuming you have implemented a regular .AddNegotiate(...)
services.AddCms().AddAuthentication(options =>
{
options.DefaultScheme = IISDefaults.AuthenticationScheme;
}).AddNegotiate(options =>
options.Events = new NegotiateEvents() {
OnAuthenticated = async context =>
{
//... sync your roles here
// E.g. services.AddVirtualRole
}
}
);
You'll still need to create classes for the virtual roles that the adgroups should map to. To my knowledge there isn't a more dynamic way to do this.
Hi!
Under Administer groups I have four groups added from an active directory but when setting access rights on content from either the content it self or Set access rights the groups are no where to be found?
How can I get the AD groups accessable for content?
Thanks!
/Kristoffer