Class CrowdUserConversionHelper


  • public final class CrowdUserConversionHelper
    extends Object
    Since:
    7.17
    • Constructor Detail

      • CrowdUserConversionHelper

        public CrowdUserConversionHelper​(com.atlassian.crowd.embedded.api.CrowdService crowdService)
    • Method Detail

      • toCrowdUser

        @Nullable
        public com.atlassian.crowd.embedded.api.User toCrowdUser​(@Nullable
                                                                 com.atlassian.user.User legacyUser)
        Returns the Embedded Crowd user which corresponds to the given legacy user, using a direct cast if possible.
        See Also:
        CrowdService.getUser(String)