The difficulty with the assignment of a user with SetUsersActivationPasswordRequest
I am writing in VB.NET, I'm passing a user object to the SetUsersActivationPasswordRequest. Stepping through the code, I see the user has passed, however, the code example assigns a user using the following statement (Note: sample code is in c#)
request.getUsers () .add (user);
When I try this line of code, getUsers() is actually 'users' is not an option '.add' under users()
Exactly how am I supposed to assign a user to this function? Past all ok object?
Here's a copy of my code:
PrivateFunction BB10SetActivationPassword(ByVal user As Object, ByVal pwd As String) As Boolean
Dim returnValue As Boolean = False
Dim request as BWSService.SetUsersActivationPasswordRequest = New BWSService.SetUsersActivationPasswordRequest)
Request.Metadata = METADATA
request.activationPassword = pwd
Request.Users = user
Var mt as BWSService.MessageType = New BWSService.MessageType
Mt. EMAIL = True
' request.sendActivationMessageUsingMessageType = mt
Var response As BWSService.SetUsersActivationPasswordResponse = Nothing
Try
response = bwsService.setUsersActivationPassword (request)
Catch ex As Exception
End Try
If (response.returnStatus.code.Equals ("SUCCESS")) then
If (response.individualResponses IsNot Nothing) then
For each individualResponse in response.individualResponses
' / / log success for creating {0} & {1}
Next
returnValue =
True
EndIf
On the other
If not (response.individualResponses Is Nothing) then
For each individualResponse in response.individualResponses
"//log response codes
Next
Next
EndIf
EndIf
Return returnValue
Function
I replied to this recently in this thread:
Tags: BlackBerry Developers
Similar Questions
-
How to access the software so that I just paid. I assigned to a user. The user connects and subscription is not found. The site seems to crash randomly and just sends me in circles. How can I get a refund is my next question.
[Profanity removed... MOD]
Hello
I just checked the details of your team, and the license that you have assigned intervenes as well on the same Adobe ID.
Please see the below help documents:
Applications creative Cloud back in test mode after an update until 2015 for CC
Kind regards
Sheena
-
Cancel the assignment of users to a group of IOM using the API/Java Code
Hello OIMers,
Can you please tell me how can I delete the assignment a belonging to a group through code?
This is the case:
When the user is deleted from Active Directory, I want to cancel the user from a group, assumes that the name of the group is "employed full-time."
Currently how do is click the profile in the administration Console, then select group of drop down and then select Cancel this group assignment.
Please tell me how to do the above tasks programmatically, it would solve my problem.
Thanks to all in advance.
Kind regards
VSNHave you tried findGroups?
You get a result set with only one entry and then just do a:
long groupKey = groups.getLongValue("Groups.Key");
Hope this helps
-Martin -
Hi, I have problems on developing an image as a wallpaper on my laptop.
It comes up with 'The file that c:\users\daniel\appdata\roaming\microsoft\windows Photo Gallery\Windows Photo Gallery wallpaper.jpg could not be written.
I tried right click and do it the long way to go to appearance and personalization in the control panel in the start menu. None of these work and I wonder why it's happening.
my computer is Windows vista Home premium and is about half a year. If anyone knows how to solve the problem of it not allow me to set a background please give me suggestions.
Dan
Treat it as a corrupted user file. To fix this usehttp://windows.microsoft.com/en-AU/windows-vista/Fix-a-corrupted-user-profile. Use the new administrator account to do this. Follow the directions given and everything will be fine and your new admin account should work normally. Once you have ccnfired you can access, to all your acccess all of your programs and files, you can delete the old user obsolete and corrupt.
That's all there is to it. Now that we know, this is the profile and not the system, the solution has been set for us.
I hope this helps. Feel free to post back with any questions as you go along.
Good luck!
Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.
-
Title asks this.
Why don't c:\users\attrib h 'All Users' changing the directory to all users so that it displays in the file Explorer? Same thing with %APPDATA%\microsoft\windows\sendto and ProgramData directories?
Thank you.
Title asks this.
Why don't c:\users\attrib h 'All Users' changing the directory to all users so that it displays in the file Explorer? Same thing with %APPDATA%\microsoft\windows\sendto and ProgramData directories?
Thank you.
Hello
In Windows 7, the AllUsers folder is not a real file.
It is a symbolic link that redirects to the C:\ProgramData folder.
ProgramData is not hidden, by default.
The correct syntax for the Attrib command would be,
C:\>attrib h ProgramData
You can view all files by going to the tab options\View Organize\Folder and research.
In the section files and hidden files , place a check mark in the Show drives, folders and hidden files.
Click Apply/OK.
Concerning
-
assign the IP static address/user GBA 5.1
Hello
The ACS 4, you have the option to a user to assign a static ip address. How more easy do you solve this ACS 5?
Thanks in advance
/ Benny
It is possible to create defined by the user of the attribute values that can be entered as part of the definition of the user and then used in two terms of insurance and/or the values returned in authorization. This is a generic mechanism to rebut the evidence of use that you set
This can be achieved as follows-Define an attribute of the identity of the IP address of type-Define users and enter their assigned IP address-Define an authorization profile that uses set it the IP address of the user record-Select the profile for authorization as a result in the authorization policyI enclose some slides illustrating this process -
* Original title: Windows 7 - letters card readers
I have a laptop computer when it is in a dock, it will have two hard drives connected. It will also in most cases, a USB flash drive connected in and out of the dock.
These discs are used for the back to the top of file transfer and I always wish to have the same assigned to them to drive letters.
When I was with Windows XP, the computer remembered the mapping and each player has been located at the same place every time. However, now I've upgraded to Windows 7 and is not only the computer remember the drive letter every time, it disconnects regularly readers.
My question is: is there a way to the assignment of drive letters, such as the computer will remember each script will travel the same with every new beginning?
I can live with it disconnect readers, but it is precisely an effort to use disk management to change the drive letter for each reader, whenever a re-start of your computer.
Details: Dell E6510, Windows 7, Western Digital external drives (e-sata) 1 Flash drive (USB).
You are aware that usb keys are not designed to stay connected on the start or stop, because there is a possibility of resulting corrupt file
-
Probems with the service for all users of Windows Installer Agent is not able to run
Day 2 after the installation of Windows 8 on my desktop PC, all the user accounts with a standard profile are unable to connect. However, my admin account can connect and I get a message saying that the 'Agent Windows all users install' does not work so why accounts no administrator cannot connect.
I restarted the service but she turns for a few seconds and ends without a message. Several attempts to restart it have failed.Is this a problem with Windows 8?I just found out that I must be an ADMINISTRATOR to do. Thanks much for the reply
-
Assignment of the task to its users and groups
Hi Experts,
We have a requirement for the assignment of the task to its users and groups. What are the different options we have to achieve this goal.
(1) considers that I have 6 groups, 6 groups, I need to take a group and itinerary of the task to a dynamic group.
Each group contains also 15 users when a task is routed to the Group A then all users in Group A should get the job. How can I achieve this. Can u send me please step by step procedure.
We use Jdev 11.1.1.6
(2) I have confusion about the roles of Parametic what exactly it is? And what is the difference between parametric and Management Chain.
Thanks in advance.
Pavan
Dan, thank you so much for the post and the explanation...
But today, I just mention its only 6 groups... but if the groups continues to increase as groups of 100 or more so how can we achieve...
Kind regards
Pavan
-
Hello
I use the SQL Dev 2.1, againts Oracle 9.2.0.6.0-production version
My account has privilege almost as s/n, which allows me to show other users tables.
I have a table whose name is exactly the same as other users of table that differs from the number of columns.
Let's say that,
mine is USERA. TABLE_A with 4 columns (COL_A, COL_B, COL_C, COL_D)
on the other is USERB. TABLE_A with 3 columns (COL_A, COL_B, COL_C)
When I opened the other users - USERB tables. TABLEA,
the columns tab shows 3 columns
but the data tab, try query (I saw a popup progress bar) COL_D thus causing error that COL_D is not available shown on the log.
I forgot the message but I think it is ORA-00904: "COL_D": invalid identifier.
I vaguely remember that few people had posted this problem on the old version of SQL Dev (1.2 or an earlier version, I guess).
I noticed THAT SQL Dev 1.5.5 does not receive this error.
Does anyone have the same problems?
Kind regards
Buntoro
Published by: user457519 on December 25, 2009 12:37 AM
Correction on the ORA error messageIs another reported problem (that I myself cannot reproduce in 2.1, but made a few versions ago), but I'm sure that a bug has been registered against it.
Kind regards
K. -
Assign groups to the autonomy of registered users
Hello
I created a group called selfregusers. I assigned all permissions available for this group. Through access policies, all users in these groups are provisioned to a resource. I put rules that automatically assigns homes registered users to this group, according to the data provided for the user-defined fields. Now when I create a user through IOM that provide values of the UDF that works well is to say, user is assigned to the Group and is provisioned resource, but when I try to create a free registered user I get the following error:
09:50:57, ERROR [SERVER] 208 class/method: tcUSG/eventPreInsert error: GRP authorization error
09:50:57, 239 [SERVER] ERROR class/method: tcUSG/eventPreInsert error: GRP authorization error
09:50:57, 566 ERROR [SERVER] / class method: tcUSR/createUser error: unable to create the user.
09:50:57, 598 ERROR [SERVER] / class method: tcDataObj/save error: failed to update data
09:50:57, 613 ERROR [DATABASE] / class method: tcDataBase/rollbackTransaction some problems:
Rollback, run from
java.lang.Exception: Rollback performed
at com.thortech.xl.dataaccess.tcDataBase.rollbackTransaction (unknown Source)
at com.thortech.xl.dataobj.tcDataObj.rollback (unknown Source)
at com.thortech.xl.dataobj.tcDataObj.doRollback (unknown Source)
at com.thortech.xl.dataobj.tcDataObj.save (unknown Source)
at com.thortech.xl.dataobj.tcTableDataObj.save (unknown Source)
at com.thortech.xl.dataobj.tcORC.checkOrcTarget (unknown Source)
at com.thortech.xl.dataobj.tcORC.eventPostUpdate (unknown Source)
at com.thortech.xl.dataobj.tcDataObj.update (unknown Source)
at com.thortech.xl.dataobj.tcDataObj.save (unknown Source)
at com.thortech.xl.dataobj.tcTableDataObj.save (unknown Source)
at com.thortech.xl.dataobj.tcORC.setOrderContentItemStatus (unknown Source)
at com.thortech.xl.dataobj.tcORC.setOrderContentItemStatus (unknown Source)
at com.thortech.xl.dataobj.tcScheduleItem.checkOrderContentItem (unknown Source)
at com.thortech.xl.dataobj.tcScheduleItem.eventPostUpdate (unknown Source)
at com.thortech.xl.dataobj.tcDataObj.update (unknown Source)
at com.thortech.xl.dataobj.tcDataObj.save (unknown Source)
at com.thortech.xl.ejb.beansimpl.tcProvisioningOperationsBean.updateTask (unknown Source)
at com.thortech.xl.ejb.beansimpl.tcProvisioningOperationsBean.updateTask (unknown Source)
at com.thortech.xl.ejb.beans.tcProvisioningOperationsSession.updateTask (unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.invocation.Invocation.performCall(Invocation.java:359)
to org.jboss.ejb.StatelessSessionContainer$ ContainerInterceptor.invoke (StatelessSessionConta
INER. Java:237)
at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke (CachedConnectionI
nterceptor. Java:158)
at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke (StatelessSessionInstance
Interceptor.Java:169)
at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350)
at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)
at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke (ProxyFactoryFinderInterceptor.
Java: 138)
at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)
at org.jboss.ejb.Container.invoke(Container.java:960)
at sun.reflect.GeneratedMethodAccessor136.invoke (unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
to org.jboss.invocation.local.LocalInvoker$ MBeanServerAction.invoke (LocalInvoker.java:169)
at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:118)
at org.jboss.invocation.InvokerInterceptor.invokeLocal(InvokerInterceptor.java:209)
at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:195)
at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:61)
at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:70)
at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke (StatelessSessionInterceptor.java:1
32 k
at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:100)
to $Proxy332.updateTask (Unknown Source)
at Thor.API.Operations.tcProvisioningOperationsClient.updateTask (unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
to Thor.API.Base.SecurityInvocationHandler$ 1.run (unknown Source)
at Thor.API.Security.LoginHandler.jbossLoginSession.runAs (unknown Source)
at Thor.API.Base.SecurityInvocationHandler.invoke (unknown Source)
to $Proxy787.updateTask (Unknown Source)
at com.thortech.xl.webclient.actions.RequestAction.setApproveDeny (unknown Source)
at com.thortech.xl.webclient.actions.RequestAction.requestDetail (unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:280)
at com.thortech.xl.webclient.actions.tcLookupDispatchAction.execute (unknown Source)
at com.thortech.xl.webclient.actions.tcActionBase.execute (unknown Source)
at com.thortech.xl.webclient.actions.tcAction.execute (unknown Source)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.j
AVA: 290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.thortech.xl.webclient.security.SecurityFilter.doFilter (unknown Source)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.j
AVA: 235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.j
AVA: 235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke (SecurityAssociationValve.ja
will: 182)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:)
157)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$ Http11ConnectionHandler.process (Http11Protocol.ja
will: 583)
to org.apache.tomcat.util.net.JIoEndpoint$ Worker.run (JIoEndpoint.java:446)
at java.lang.Thread.run(Thread.java:619)
Help, please.
Thanks in advanceHey Man, I got your problem. You have a two level approval and another user who is on approval of the application doesn't have enough privileges. Try this to make your smooth work flow.
(1) the only problem here is that the approver has the permission to write to the group. You said that 'I posted available to this group permissions', but always check this out. Another approver (not xelsysadm) must be a member of an existing group. So what you need to do is to make the approver group admin of your * "selfregusers" * group.
Open the "selfregusers" group Select "Administrative groups" in the menu drop down and affect the group for which your approver is a member.
(2) now try to approve the request. It should work 100%.
Thank you
Sunny
-
How to allow the user to view the pay button in the assignment window
Dear Sir
We wanted to-appear salary in the assignment window button; That is why we used task flow button visible or non-visible salary and works very well, but by clicking on the button in salary indicating error "feature is not available for this responsibility. "Change the responsibilities or contact your system administrator.
pls advice what is the missing configuration.
-Thank youIf you plan to open the form of salary, and then add the PERWSEPY function
If you plan to open salary page then add the function SAL_ADMIN_LAUNCHKind regards
Stephanie. -
How to fix the damaged for windows user profile 7
My gadgets disappeared in windows 7, I went to the community and checked the previous answers to this problem. I created a new profile for the user with the Administrator's control and gadgets were back. I want to thank everyone for their responses which were very helpful. But I want to the difficulty of the original user profile that has been corrupted. However, I do not understand how to do this. Can someone out there help me please. Thanks, Cviggie
Hello
It is almost impossible track down corruption in a user profile.
You can create a new user account and to transfer all of your personal files and most of the settings to a user account.
See the following article for step by step instructions.
Difficulty a user profile corrupted - how to
Concerning
-
Hello
JDeveloper/SOA/BPM 11.1.1.7
WebLogic 10.3.6
I am programmatically reassign a task (which is by default assigned to a group) to a set of users using the following API.
taskSvc.reassignTask (ctx, task, newTaskAssignees);
The 'newTaskAssignees' is built for a set of users by ITaskAssignee objects of Type user.
User ITaskAssignee = new TaskAssignee (user, IWorkflowConstants.IDENTITY_TYPE_USER);
NewTaskAssignees list < ITaskAssignee > = new Arrayist <ITaskAssignee< ();
The controllers are usually the current user and other users.
After the 'reassignTask()' method is called, the task is assigned to all users successfully.
But the problem is not that all users get the privileges on the task all too.
Only the current user is able to perform all actions on the task (as redirect, approve, reject etc.)
All other users do not receive these actions when also looked into the workspace of BPM for this task.
I tried the following.
Manually 'release' the task of the BPM workspace by logging in as a user with original permissions.
After that all other controllers task get all actions.
Obviously, the task is "acquired" by the current user who is logged in when the API 'reassignTask()' is called.
So, I tried to call the 'releaseTask()' method after calling the reassignTask() method.
But when I call the releaseTask() method gives the following exception
Exception: Action RELEASE task '< taskId >' cannot run the user "abcd".
I also tried to question the freshly task using the "querySvc.getTaskDetailsById ()" after the call to the reassignTask() method.
But still get the same exception
Is there something I'm missing here?
Thanks for any help.
Sameer
This problem is solved.
In fact, after the output of the task the payload is updated again, which was originally the task that needs to be acquired by the user, and therefore no one else could not perform any other operations on the task.
So after the task he must be released again.
Here are a few points we should remember when you work with the BPM API as above.
1. always question the task using getTaskDetailsById() or getTaskDetailsByNumber() before any operation on it. If it is updated in the meantime, the operation may fail.
2. after the execution of the operation on the task, we need to release him if we want other assignees to be able to work on the task.
3. If he is assigned to multiple users or groups, better is worth to acquire the task before calling top transactions.
4. of course no other operations or payloads updates are performed which may cause the task to acquire automatically.
-
Cancel the assignment of a task
Hello I need to assign a task to a user with limited time 3 company days Calendar , if at the end of the 3 days without user action requires the withdrawal the assignment. Le task is to call to a presentation at the end of the appeal period , the users can not do this action. What is the best How to make ce.
Thanks for your help
Certainly, when a task times a notification (task deadlined) remains in the list of tasks of the user. However, the only thing that the user can do with this element of notification is to remove it. She stayed there to notify the user that the task is deadlined and settles. The owner of this notification is the only one who can remove it. The task itself is passed to where ever your process to send.
Maybe you are looking for
-
Why my keyboard does not work with firefox?
I uninstalled and then reinstalled the latest version of firefox, but I still have the same problem - I am not able to type anything in the url or the google search field. I am able to type in other programs on my computer but
-
Hello world I was working with target RT (PXI) and by mistakes we have removed/deleted some files which I think concerns ethernet so, now, we are unbale to communicate with the target? What can we do? How to put the new system in place, as everything
-
How to label the columns in excel
I need to know what code to use in labview to label columns in excellent when data are open up in excel. Thank you
-
Windows 7 on the DV7-7212nr?
I just purchased a DV7-7212nr two weeks and I tried to give a chance to Windows 8, I don't really have, but I did with her. Is it possible to downgrade to Windows 7 on this computer? I've seen videos on YouTube where they mentioned the "pilots", so I
-
Hello Is it possible to get the OfficeJet 6500 E709n fax when it is connected to the digital phone service? This seems to be the only obstacle to my installation. I can't believe that HP would offer an all-in-one that are not fax to digital service