November Happy Hour will be moved to Thursday December 5th.
November Happy Hour will be moved to Thursday December 5th.
Hi Kristoffer
If you are using ASP.Net Identity for CMS, then Commerce should use the same provider. Are you seeing users and roles when setting rights on content?
Hi!
This i strange, if I try to set set rights on a CMS content I don't find any users I only find groups? Both users and groups has the CMSMembershipProvider as provider.
/Kristoffer
<roleManager enabled="true" defaultProvider="CMSRoleProvider" cacheRolesInCookie="true">
<providers>
<clear />
<add name="MultiplexingRoleProvider" type="EPiServer.Security.MultiplexingRoleProvider, EPiServer.Framework.AspNet" provider1="SqlServerRoleProvider" provider2="WindowsRoleProvider" providerMap1="SqlServerMembershipProvider" providerMap2="WindowsMembershipProvider" />
<add name="WindowsRoleProvider" applicationName="ECApplication" type="EPiServer.Security.WindowsRoleProvider, EPiServer.Cms.AspNet" />
<add name="SqlServerRoleProvider" connectionStringName="EPiServerDB" applicationName="ECApplication" type="System.Web.Security.SqlRoleProvider, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add connectionStringName="EcfSqlConnection" applicationName="ECApplication" name="CMSRoleProvider" type="Mediachase.Commerce.Customers.Profile.Providers.CustomerSqlRoleProvider, Mediachase.Commerce" />
</providers>
</roleManager>
<membership defaultProvider="CMSMembershipProvider" userIsOnlineTimeWindow="10" hashAlgorithmType="HMACSHA512">
<providers>
<clear />
<add name="MultiplexingMembershipProvider" type="EPiServer.Security.MultiplexingMembershipProvider, EPiServer.Framework.AspNet" provider1="SqlServerMembershipProvider" provider2="WindowsMembershipProvider" />
<add name="WindowsMembershipProvider" type="EPiServer.Security.WindowsMembershipProvider, EPiServer.Cms.AspNet" deletePrefix="BUILTIN\" searchByEmail="true" />
<add name="SqlServerMembershipProvider" type="System.Web.Security.SqlMembershipProvider, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" connectionStringName="EPiServerDB" requiresQuestionAndAnswer="false" applicationName="EPiServerSample" requiresUniqueEmail="true" passwordFormat="Hashed" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="7" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" passwordStrengthRegularExpression="" />
<add connectionStringName="EcfSqlConnection" applicationName="ECApplication" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="true" passwordFormat="Hashed" passwordStrengthRegularExpression="" minRequiredPasswordLength="4" minRequiredNonalphanumericCharacters="0" name="CMSMembershipProvider" type="Mediachase.Commerce.Customers.Profile.Providers.CustomerSqlMembershipProvider, Mediachase.Commerce" />
</providers>
</membership>
I haven't touched this since we started with Commerce 9 in 2015. I think... :-)
Thanks!
I tested with quicksilver/aspnetidentity and it worked fine. Can't spot any problem with your setting, and unfortunately I no longer have a site with asp.net membership to test. you might need to reach out to developer support service as usual. Sorry I hoped for a better answer
No worries, thanks for trying. I guess the Opti GUI is using the Membership and Roleprovider when searching users to set rights for? I could decomile and then debug I guess.
Hi!
We are running a Commercer 13.32 and CMS 11.20 and I just tried to setup a approval sequence but I cannot find any users?
After some digging I found that this is the url used for searching users:
What user and groups is this URL searching for? I have users in the CMS but there are not found and the users for the Commerce part is handled using this really old plugin:
https://sveinaandahl.blogspot.com/2015/08/admin-tool-for-aspnet-identity.html
Is it possible to migrate the users in someway and the they can be used in the approval sequence?
Thanks!
/Kristoffer