Hi Dynamicweb,
We have upgraded a solution to 9.2 from 8.9, but after the upgrade users are not added user management groups.
In ExternalLogin.aspx.vb something seems to be missing:
Private Sub AddUserToUserManagementGroup(ByVal provider As Provider, ByVal user As User)
If Not String.IsNullOrEmpty(provider.ExternalLoginProvider.CreateNewUserPage) Then
Dim pageID As Integer = GetIdFromPageURL(provider.ExternalLoginProvider.CreateNewUserPage)
If pageID > 0 Then
Dim service As IParagraphService = Extensibility.ServiceLocator.Current.GetParagraphService()
Dim paragraphs As IEnumerable(Of Paragraph) = service.GetParagraphsByPageId(pageID)
For Each paragraph As Paragraph In paragraphs
If paragraph.ModuleSystemName = "UserManagementFrontend" Then
Dim properties As Properties = New Properties()
properties.LoadProperty(paragraph.ModuleSettings)
'Dim paragraphSettings As ParagraphSettings = New ParagraphSettings(properties)
'If Not IsNothing(paragraphSettings) Then
' For Each group As Group In paragraphSettings.CreateProfileNewUserGroups
' user.AddToGroup(group.ID)
' Next
'End If
Exit For
End If
Next
End If
End If
End Sub
A part of the code above is commented out and I can not see this is implemented as well: https://www.screencast.com/t/8mhE7ZWvtq.
Hope you can help me?
Best regards, Anders