It's all about the answers!

Ask a question

How to Fetch contributor by UserID immaterial of case sensitivity


Sanjeev Kulkarni (331722) | asked Jan 20 '15, 12:32 p.m.
Earlier we used RTC 4.0.5 and used to fetch contributor without any problems (immaterial of case sensitivity)
Code Snippet:
public IContributor getContributor(String userId, ITeamRepository repositoryHandle) {
        try {
            
            IContributor contributor = repositoryHandle.contributorManager().
                            fetchContributorByUserId(userId, null);
            return contributor;
        } catch(Exception ex) {
            log.error("Exception occurred while getting Contributor ["
                    + userId + "] " + ex);
        }
        return null;
    }

We are planning to migrate to RTC 5.0.1 and during testing we find that contributor retrieval is case sensitive.
API is able to fetch contributor only if userId is provided as seen in Active Directory.
Eg:
My user ID as seen in Active Directory =  SSS1KOR
Result seen on execution of  above function
Input (userId)            Outup (Contributor)
SSS1KOR             Fetches Contributor @......
sss1kor                          null

Note:
Login with web Client is successful immaterial of case sensitivity.

One answer



permanent link
Abraham Sweiss (2.4k1331) | answered Jan 22 '15, 12:48 p.m.
I would suggest to open a defect on jazz.net.  select the "My Stuff" link, then the workitems tab and then create a defect. 

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.