Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Posts: 196
Registered: ‎12-14-2009
My Device: Not Specified
Accepted Solution

"/accounts/1000" is there ever "/accounts/2000" or "/accounts/1001"

I want to check a QString path. Do some users ever have paths that are like:


"/accounts/1001" or "/accounts/2000" for some reason(BlackBerry Balance, BES, etc..)?


instead of the familiar: "/accounts/1000"?


Posts: 6,152
Registered: ‎07-05-2012
My Device: Playbook, Dev Alpha C, Z10 LE, Z30
My Carrier: Orange

Re: "/accounts/1000" is there ever "/accounts/2000" or "/accounts/1001"

I don't believe so but to future proof can't you just iterate through the folders in accounts?

If you've been helped click on Like Button, if you've been saved buy the app. Smiley Happy

Developer of stokLocker, Sympatico and Super Sentences.
Posts: 749
Registered: ‎12-16-2008
My Device: BlackBerry Z30
My Carrier: Bell

Re: "/accounts/1000" is there ever "/accounts/2000" or "/accounts/1001"

In the work permiter it will be /accounts/1000-enterprise right now, though we don't promise that those two paths will be the only options always and forever.


Best just to not hardcode the file path at all. Use QDir::currentPath()



Paul Bernhardt
Application Development Consultant

Did this answer your question? Please accept this post as the solution.
Found a bug? Report it to the Developer Issue Tracker
BlackBerry Development Advisor
Posts: 683
Registered: ‎11-29-2011
My Device: PRIV
My Carrier: Rogers

Re: "/accounts/1000" is there ever "/accounts/2000" or "/accounts/1001"

I believe the perimeter credentials spec allows for users 1 through 9 (1000 .. 9000).

It's not in use today, but the design is in place, so it could in theory be turned on if the devices support different user profiles.

Posts: 828
Registered: ‎10-16-2012
My Device: Red Z10
My Carrier: Rogers

Re: "/accounts/1000" is there ever "/accounts/2000" or "/accounts/1001"

I've always wondered why BB10 doesn't have user profiles, they  intoduced it as 'Mobile Computing' and my main thought was, Where are the user accounts?  I can't say I've ever used a computer that doesn't have user accounts.  There is the work perimiter, however that only benifits users behind a BES server, consumers don't get to take advantage of this feature, even though it could be baked in as easily as the work permiter there's not even a Guest perimeter so people can comfortably show off their devices without handing away access to all their personal content.