Skip to content

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

Description

@davidjrh

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions