How can I get the backend user groups using DW API?
I used the following query but I want to use the API to get the same result.
* from accessUser where accessUserType=11 OR accessUserType=2 ORDER BY AccessUserUserName
select
How can I get the backend user groups using DW API?
I used the following query but I want to use the API to get the same result.
* from accessUser where accessUserType=11 OR accessUserType=2 ORDER BY AccessUserUserName
select
Dynamicweb.Modules.UserManagement.
{
GroupCollection gc = Dynamicweb.Modules.UserManagement.Group.GetGroups();foreach (Dynamicweb.Modules.UserManagement.Group grp in gc)if
(!grp.AllowBackend)//false if is extranet group
}
Base.w(grp.Name);
You must be logged in to post in the forum