Skip to content

IdentitySource user profile property not working after converting a user to superuser #21

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
davidjrh opened this issue Feb 28, 2021 · 0 comments

Comments

@davidjrh
Copy link
Member

After converting a user to superuser, the IdentitySource profile property is no longer returned for such user. This is caused because the profile property definitions for superusers are taken from the ProfilePropertyDefinition table with portalId=NULL.

Workaround

  • Insert in the database a record copying the IdentitySource profile property from portal 0, but setting the portalId=NULL
  • Update the record at UserProfile table for the user being promoted, changing the PropertyDefinitionID value to the one created by the insert above.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant