Welcome!

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

BlackBerry Web Services

Reply
Contributor
cmolkentine
Posts: 14
Registered: ‎04-26-2013
My Device: Blackberry z10

Re: getting UNKNOWN Error while trying create new blackberry enabled user.

Nevermind.  Seems to be something wrong with our stage environment.   Was able to create a user on our production environment.

Please use plain text.
BlackBerry Development Advisor (Retired)
gbeukeboom
Posts: 2,559
Registered: ‎10-16-2009
My Device: BlackBerry Z10

Re: getting UNKNOWN Error while trying create new blackberry enabled user.

[ Edited ]

Good to hear!

 

As a bit of background, when you try to call createUsers() with the email address specified the BAS should first check its DB to see if the user already exists (BAS syncs with AD once a day usually) and it the user is not found then it should fall back to querying AD. So as long as the user exists in AD then they should be able to be created.

 

Oh, and please make sure to mark this thread as solved :smileyhappy:

Garett
@garettBeuk
--
Goodbye everybody!
Please use plain text.
Contributor
cmolkentine
Posts: 14
Registered: ‎04-26-2013
My Device: Blackberry z10

Re: getting UNKNOWN Error while trying create new blackberry enabled user.

Thanks for the help Garett.  Do you have code samples on how to assign an email profile, set activation password, and user deletion using BWS?   Those are the last parts we need to get setup for our automated provisioning.

Please use plain text.
BlackBerry Development Advisor (Retired)
gbeukeboom
Posts: 2,559
Registered: ‎10-16-2009
My Device: BlackBerry Z10

Re: getting UNKNOWN Error while trying create new blackberry enabled user.

Sounds like you may need to start a new thread or two for those additional questions.

 

But in short there are code snippets for every call in the API reference. The snips are in Java but the conversion to C# is fairly easy, especially once you get one or two done.

Garett
@garettBeuk
--
Goodbye everybody!
Please use plain text.
Contributor
cmolkentine
Posts: 14
Registered: ‎04-26-2013
My Device: Blackberry z10

Re: getting UNKNOWN Error while trying create new blackberry enabled user.

Okay thanks Garett.  I have started a new post for that.  I will ask Shyamal to mark this thread solved.

Please use plain text.