Business logic callable object and Dynamic User assignment
hi all,
I have to design scenario using VC and GP
using VC i designed a form that consist of some input parameters value,product..
i integrated the designs created in VC to CO's
My workflow should be like this
now if the value<500
it should go for approval to user1->user3
if 500<value<1000 means it should go for approval to user1->user2->user3
i tried this by using a businesslogic callable object
the input ot this businesslogic CO is "value" parameter
reult state
continue BOOL(@value<500)
break Bool(500<@value<1000)
process
sequential block1
Altenateblock block
Action
result state:
continue->target->seqblock2
break->target->seqblock3
business logic CO
seqblock2
Action1
Action3
seqblock3
Action1
Action2
Action3
i designed the workflow like this
but the problem is that during runtime its directly jumping to seqblock3 with out asking the input value for business callable object
and its not exiting from that block3.its going like infinite loop(action1->action2->action3->action1->action2->Action3)
pls suggest me the way to achieve this task
Thanks
kiran
Edited by: kiran_mareedu on Aug 26, 2009 3:48 AM
Hi,
I have the similar issue.
In my case it is taking too much time for completion.
It is a background step so it should execute automatically.
I have also checked Queue's for this.
But could not understand why it is taking soo much time?
Regards,
Pratik
Similar Messages
-
Problem in Business Logic Callable Object execution
Hi All,
We are working on a workflow scenario where 2 approvals are present. Second approval is optional.
Second approval is required or not is decided by a business logic callable object.
This callable object is assigned (user role0 to initiator.
Issue is, when first approval is completed, flow goes to business logic callable object. A UWL entry comes in initiators inbox. And from there, flow doesn't move forward. It simply shows message 'The next activity is not yet available: try again later using the "Refresh" button".
I have tested this business logic callable object individually, and it works fine.
But in process, it doesn't move further.
What can be the solution to this?
Thanks,
DeeptiHi,
I have the similar issue.
In my case it is taking too much time for completion.
It is a background step so it should execute automatically.
I have also checked Queue's for this.
But could not understand why it is taking soo much time?
Regards,
Pratik -
Cannot use DSUB function in Business Logic Callable Object
Hi sdners! I am trying to create a Business Logic Callable Object, that compares a date and actual date. I used DSUB like this:
DSUB(DVAL(DSTR(NOW(),'DATE')),DVAL(DSTR(@beginning_date,'DATE')),'D')
@beginning_date is of type Date. DSUB should return how many days passed between actual date and @beginning_date. However, when I test it using Test tab, it returns 0 (zero). I tried using this also with same result:
DSUB(NOW(),@beginning_date,'D')
DSUB(NOW(),@beginning_date,'DD')
DSUB(@beginning_date,NOW(),'D')
DSUB(DVAL(DSTR(NOW(),'DATE')),DVAL(DSTR(@beginning_date,'DATE')),'DD')
DSUB('5/05/2009','1/20/2009','D')
DSUB(5/05/2009,1/20/2009,'D')
Does anyone know what should I do to get it solved??
Any help is highly appreciated!
Regards,
FedeHi,
I have the similar issue.
In my case it is taking too much time for completion.
It is a background step so it should execute automatically.
I have also checked Queue's for this.
But could not understand why it is taking soo much time?
Regards,
Pratik -
Unable to create Business logic Callable Object
Hi All,
We are working on CE 7.1 SDN trial version.
while creating Business Logic Callble object, it is giving an error: Error while loading configuration dialog: Failed to create delegate for component com.sap.caf.eu.gp.ui.co.CExpConfig. (Hint: Is the corresponding DC deployed correctly? Does the DC contain the component?)
Waht is the problem?.
Thanks
SampathHi All,
when i try to create business logic CO, in Default Trace files it is giving following errrors:
This callable object type is not deployed on the system: sap.com/cafeueruico~bi
This callable object type is not deployed on the system: sap.com/cafcoregpuibackgroundco~admin
This callable object type is not deployed on the system: sap.com/cafcoregpuivisibleco~admin
This callable object type is not deployed on the system: sap.com/cafeueruico~r3transaction
This callable object type is not deployed on the system: sap.com/cafeueruico~km
Do we need to deploy any extra DCs.
Sampath -
HREAP and Dynamic VLAN assignment (MS NPS)
Hi All
Just a quick rundown of what I am trying to achieve.
We have a Cisco 5508 WLC (running AIR-CT5500-K9-7-0-116-0.aes). At the moment the WLC is controlling only 1 AP (Cisco 1142N LWAP). I want this AP to be placed at a remote site, and users that authenticate via the RADIUS (MS Windows 2008 NPS) server must be assigned their respective VLANs based on the Active Directory groups they belong to (staff, student, or guest).
The AP and dynamic VLAN assignment works 100% if the AP is in local mode. Authentication works, and dynamic VLAN assignment works. As soon as you change the AP to HREAP mode, dynamic VLAN assignment stops working, and the client gets assigned an IP of whatever VLAN is assigned to the SSID under the HREAP tab. Allow AAA Override is enabled on the main SSID that I am broadcasting.
I have read in some of the discussions that HREAP does not support dynamic VLAN assignment, but I haven't seen why this is not supported. Is this true with the latest version of WLC software as well? I cannot see why local traffic destined for a local resource must be sent via a WAN link to the controller, and then back over the WAN link again. This seems very inefficient.
Is there anybody that can confirm if this is in fact an HREAP limitation, and why (if so) it is a limitation, please? Any info would be much appreciated.
Regards
ConnieDo you perhaps know if there are plans for this limitation being addressed in the near future?
We are looking to deploy wireless from end-to-end in all 6 of our sites, and you biggest competitor was penalized because they do not support this feature. It seems we're going to have to apply the same penalty in this respect to Cisco as well.
Thanks for the feedback, though!
Regards
Connie -
Callable object and Guided procedures
Hi all,
Where we use callable objects? i want to know about the basic of callable object and guided procedure?
sorry if my question is very sillyHi again
Callable objects can be many types, including applications (like web dynpro), services (e.g. web services), remote function modules, intercative and composite forms, etc.
The GP framework comes with a set of ready-to-use COs that you can see when you open the Create Callable Object wizard. Here is a list of the so-called predefined COs in GP:
http://help.sap.com/saphelp_nw70/helpdata/en/0f/619fd378a641b29386063019c24fc4/content.htm
Since applications and services themselves are of various types, here is a link for creating COs of those types in GP design time:
http://help.sap.com/saphelp_nw70/helpdata/en/da/a680415dc6050de10000000a1550b0/content.htm
You can also implement your own callable object type, but here you have to use the NW Developer Studio, apart from the GP worksets. Here is a link to give an overview:
http://help.sap.com/saphelp_nw70/helpdata/en/43/e74cb156b60a29e10000000a11466f/content.htm
Finally, here is a document that gives general info about exposing applications as COs and links to various areas, connected to CO implementation and usage in GP:
http://help.sap.com/saphelp_nw70/helpdata/en/08/d88041a17e060de10000000a1550b0/content.htm
Hope that is helpful
Greetings and good luck with the reading
Petra -
Guided Procedure: Dynamical User Assignment at Runtime with WD API
Hallo out there,
I'm trying to assign a user to a process role.
I set up my process in that way:
Process as root,
sequential block,
First action with callable Object,
Second action with callable Object,
It looks quite easy.
The callable Objects are embedded WD4J UI's and the data transfer GP Context, etc works fine
I'm still starting the process with the GP Designtime center, not via Webdynpro method (startProcess).
The following codesd snippets are placed in the execute method of the first callable object.
I guess a have to use the runtime methods.. not the designtime methods to assign the users
For example:
In Step 1 - execute Method:
discovering the user for processing step2!
assigning the to the processrole depending for step2!
My Coding in step 1 looks like this:
First step: Getting the user infos:
// Retrieve an IUser instance by a logon ID specified dynamically at runtime.
IUser userStep1;
IUser userStep2;
userStep1 = UMFactory.getUserFactory().getUserByLogonID("user1");
userStep2 = UMFactory.getUserFactory().getUserByLogonID("user2");
IGPUserContext userContext;
IGPUserContext userContext2;
userContext = GPContextFactory.getContextManager().createUserContext(userStep1);
userContext = GPContextFactory.getContextManager().createUserContext(userStep2);
IGPRuntimeManager rtm = GPProcessFactory.getRuntimeManager();
Now, i want to assign user2 to step2 :
IGPProcess process = GPProcessFactory.getDesigntimeManager().getActiveTemplate(
// by specifying its ID
processId,
// and the user accessing it
userContext);
// create an empty role assignment list
IGPProcessRoleInstanceList roles = rtm.createProcessRoleInstanceList();
// get the process role number
int rolenum = process.getRoleInfoCount();
// iterate over the required roles
for (int i = 0; i < rolenum; i++) {
msgmr.reportSuccess("Anzahl der gefunden Prozessrollen: " + rolenum);
// create a new role instance by specifying the role's unique name
IGPProcessRoleInstance roleInstance = roles. createProcessRoleInstance(process.getRoleInfo(i).getRoleName());
// add a user to the role instance
roleInstance.addUser(userStep2);
// add the new role to the assignment list
roles.addProcessRoleInstance(roleInstance);
I guess the problem is, that i call the wrong method to assign the user. I need to assign the user with following code snippet...
// dynamically assign a user to a role
rtm.addRuntimeDefinedUserToRole(
// process instance
prInstance,
// role name
"Processor",
// user that is assigned (IUser)
user,
// user context (IGPUserContext)
userContext);
// dynamically change the user assigned to a role for a particular task
String prInstanceID = prInstance.getID();
rtm.changeTaskProcessor(
// process instance ID
prInstanceID,
// activity instance ID
activityInstanceID,
// current user (IGPUserContext)
currentProcessorContext,
// new user (IGPUserContext)
newProcessorContext);
Thank you for any hint.Hi,
Refer this
Re: Adding users to a process role at runtime method :- addRuntimeDefinedUser -
How to create dynamic View Object and Dynamic Table
Dear ll
I want to create a dynamic view object and display the output in a dynamic table on the page.
I am using Jdeveloper 12c "Studio Edition Version 12.1.2.0.0"
This what I did:
1- I created a read only view object with this query "Select sysdate from dual"
2- I added this View object to the application module
3- I created a new method that change the query of this View object at runtime
public void changeVoQuery(String dbViewName) {
String sqlstm = "Select * From " + dbViewName;
ViewObject dynamicVo = this.findViewObject("DynamicVo");
if (dynamicVo != null) {
dynamicVo.remove();
dynamicVo = this.createViewObjectFromQueryStmt("DynamicVo", sqlstm);
dynamicVo.executeQuery();
4- I run the application module for testing the method and I passed "Scott.Emp" as a parameter and the result was Success
5- Now I want to show the result of the view on the page, so I draged and dropped the method from the data control as a parameter form
6- I dragged and dropped the view Object "DynamicVo" as a table and I choose "generate Column Dynamically at runtime". This is the page source
<af:panelHeader text="#{viewcontrollerBundle.SELECT_DOCUMTN_TYPE}" id="ph1">
<af:panelFormLayout id="pfl1">
<af:inputText value="#{bindings.dbViewName.inputValue}" label="#{bindings.dbViewName.hints.label}"
required="#{bindings.dbViewName.hints.mandatory}"
columns="#{bindings.dbViewName.hints.displayWidth}"
maximumLength="#{bindings.dbViewName.hints.precision}"
shortDesc="#{bindings.dbViewName.hints.tooltip}" id="it1">
<f:validator binding="#{bindings.dbViewName.validator}"/>
</af:inputText>
<af:button actionListener="#{bindings.changeVoQuery.execute}" text="changeVoQuery"
disabled="#{!bindings.changeVoQuery.enabled}" id="b1"/>
</af:panelFormLayout>
</af:panelHeader>
<af:table value="#{bindings.DynamicVo.collectionModel}" var="row" rows="#{bindings.DynamicVo.rangeSize}"
emptyText="#{bindings.DynamicVo.viewable ? 'No data to display.' : 'Access Denied.'}"
rowBandingInterval="0" selectedRowKeys="#{bindings.DynamicVo.collectionModel.selectedRow}"
selectionListener="#{bindings.DynamicVo.collectionModel.makeCurrent}" rowSelection="single"
fetchSize="#{bindings.DynamicVo.rangeSize}" filterModel="#{bindings.DynamicVoQuery.queryDescriptor}"
queryListener="#{bindings.DynamicVoQuery.processQuery}" filterVisible="true" varStatus="vs" id="t1"
partialTriggers="::b1">
<af:iterator id="i1" value="#{bindings.DynamicVo.attributesModel.attributes}" var="column">
<af:column headerText="#{column.label}" sortProperty="#{column.name}" sortable="true" filterable="true"
id="c1">
<af:dynamicComponent id="d1" attributeModel="#{column}"
value="#{row.bindings[column.name].inputValue}"/>
</af:column>
</af:iterator>
</af:table>
when I run the page this error is occured
<Nov 13, 2013 2:51:58 PM AST> <Error> <oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter> <BEA-000000> <ADF_FACES-60096:Server Exception during PPR, #1
javax.el.ELException: java.lang.NullPointerException
Caused By: java.lang.NullPointerException
Can any body help me please
thanksHave you seen Shay's video https://blogs.oracle.com/shay/entry/adf_faces_dynamic_tags_-_for_a
All you have to do is to use the dynamic table to get your result.
Timo -
5508 and dynamic vlan assignement
Hello,
I'm trying to setup a 5508 to work with dynamic vlan assignement using the same SSID.
I've followed everyting in this document http://www.cisco.com/en/US/tech/tk722/tk809/technologies_configuration_example09186a008076317c.shtml
but it doesn't work, every client independent of the RADIUS group is assigned to the same VLAN.
The only difference I have with that document is the [081] Tunnel-Private-Group-ID for which I use a string (nessesary for the LAN switches which use the same RADIUS) instead of a number.
What I see when sniffing the RADIUS traffic, every option is sent correctly to the WLC, from the WLC side and using the debug aaa events enable option I see nothing interesting.
Any ideas?
Thanks
GeorgeA bit more debugging gave me this:
*Oct 15 09:31:28.491: xx:xx:xx:xx:xx:xx Received Tunnel-Group-ID Attribute -- ignoring AES Interface-Name '200' for STA xx:xx:xx:xx:xx:xx.
*Oct 15 09:31:28.491: xx:xx:xx:xx:xx:xx Tunnel-Type 16777229 should be 13 for STA xx:xx:xx:xx:xx:xx
(xx:xx:xx:xx:xx:xx is the client mac address)
It seems that:
1. WLC ignores the [14179\005] Aire-Interface-Name parameter regardless of what the value is (I have tried the vlan number, the interface name etc)
2. the second error is that the tunnel-type 16777229 should be 13. The tunnel-type has the value VLAN as required according to the Cisco document and in general for this to work. Funny thing is that RFC2868 doesn't define a value of 13 but RFC3580 define VLAN as value 13 so again I've set the correct value.
So I don't really know what to do now. I guess I have to open a TAC ticket. -
Xcontrols and dynamic User Events
Hi all,
I'm trying to build a XControl with an Event Structure that accepts User Events generated by a separate parallel loop on the block diagram.
A monitoring loop with its own Event Strucure on the block diagram seems to handle the User Events generated by my producer loop but the XControl seems to ignore the User Events.
Example LabView 8.5.1 project is attached
Any ideas?
Attachments:
XControl.zip 75 KBHi Anne,
> Dynamic user event is registered to the event structure, and many dynamic user events come in very fast, about every 30 ms.
The 30ms rate is not unreasonably fast as long as the processing for the event(s) can be completed in less than 30ms.
What tasks are you doing in the User Event?
For tasks that may take time to complete (like logging) you could queue up the data and send it to a consumer loop.
> It freezes up the user interface, no response to mouse and keyboard, even after all user events finish execution.
My *guess* here is that you got stuck in an event that never completed.
steve
Help the forum when you get help. Click the "Solution?" icon on the reply that answers your
question. Give "Kudos" to replies that help. -
IPM and dynamic user tracking not running properly.
Hello, I've got two problems after a reinstallation of CiscoWorks LMS 3.2.
Versions of software components:
LMS-3.2
Campus Manager-5.2.1
CiscoView-6.1.9
CiscoWorks Assistant-1.2.0
CiscoWorks Common Services-3.3.0
Device Fault Manager-3.2.0
Integration Utility-1.9.0
Internetwork Performance Monitor-4.2.0
LMS Portal-1.2.0
Resource Manager Essentials-4.3.0
First probelm I have sounds pretty much like this thread:
https://supportforums.cisco.com/message/3064784#3064784
Source device is a WS-C3560-8PC - 12.2(55)SE1 - C3560-IPSERVICESK9-M
I configured a IPM collector, if I have a look at the "Collector Management" the collector is running and I can also monitor the running collector.
But if I have a look at the running config of the switch, there is no ip sla collector configuration but I can see the ip sla statistics via the show command.
#sh ip sla configuration 135123
IP SLAs, Infrastructure Engine-II.
Entry number: 135123
Owner: ipm|XXXS1077
Tag: QA-Site1-Site2
Type of operation to perform: udp-jitter
Target address/Source address: target ip address/source ip address
Target port/Source port: 2000/0
Type Of Service parameter: 0xB8
Operation timeout (milliseconds): 5000
Codec Type: g729a
Codec Number Of Packets: 1000
Codec Packet Size: 32
Codec Interval (milliseconds): 20
Advantage Factor: 12
Verify data: No
Vrf Name:
Control Packets: enabled
Schedule:
Operation frequency (seconds): 60
Next Scheduled Start Time: Start Time already passed
Group Scheduled : FALSE
Randomly Scheduled : FALSE
Life (seconds): Forever
Entry Ageout (seconds): 3600
Recurring (Starting Everyday): FALSE
Status of entry (SNMP RowStatus): Active
Threshold (milliseconds): 5000
Distribution Statistics:
Number of statistic hours kept: 2
Number of statistic distribution buckets kept: 1
Statistic distribution interval (milliseconds): 20
Enhanced History:
#sh ip sla statistics
Round Trip Time (RTT) for Index 135123
Type of operation: jitter
Latest RTT: 45 ms
Latest operation start time: 14:36:31.759 MET Wed Mar 16 2011
Latest operation return code: OK
RTT Values
Number Of RTT: 1000
RTT Min/Avg/Max: 21/45/60 ms
Latency one-way time milliseconds
Number of Latency one-way Samples: 0
Source to Destination Latency one way Min/Avg/Max: 0/0/0 ms
Destination to Source Latency one way Min/Avg/Max: 0/0/0 ms
Jitter time milliseconds
Number of SD Jitter Samples: 999
Number of DS Jitter Samples: 999
Source to Destination Jitter Min/Avg/Max: 0/3/15 ms
Destination to Source Jitter Min/Avg/Max: 0/1/9 ms
Packet Loss Values
Loss Source to Destination: 0 Loss Destination to Source: 0
Out Of Sequence: 0 Tail Drop: 0
Packet Late Arrival: 0 Packet Skipped: 0
Voice Score Values
Calculated Planning Impairment Factor (ICPIF): 11
MOS score: 4.06
Number of successes: 18
Number of failures: 0
Operation time to live: Forever
#sh run all | include 135123
Any suggestions? Am I right?
The second problem is about the dynamic user tracking like these theads https://supportforums.cisco.com/message/3135881#3135881 or
https://supportforums.cisco.com/message/3195492#3195492
Access switches are configured properly, the configuration ran without any problems with the previous installation.
No changes done at the configuration, using the default trap listener port etc.
In the macuhic.log file I get entries like in the attached txt.
When I try to run a full Campus Manager Data Collection I get the following errormessage:
Failed to start acquisition: Construction of XML data required for UT is in progress.Please try after some time
Also any suggestions? Am I right, too?By default IP SLA collectors installed by IPM do not appear in the running configuration. If you want to install the collectors into the running configuration, then set the "Copy IPSLA Configuration to running-config" property under IPM > Admin > Application Settings, then delete and recreate the collector.
Your Campus problem could be CSCtd49439 (a patch is available by contacting TAC). However, you should start a new thread for your Campus problem. -
Authorization Issue with Custom Pending Value Object and Anonymous Users
Hi,
I am just converting my demo from version 7.1 to 7.2. I am not doing upgrade. The demo uses a custom pending value object USER_REQUEST. The idea is that new employee goes to Java AS as anonymous user and enters her details and store where she will work. After submitting request there is an approval process using custom entry type USER_REQUEST. If the request is approved then IdM converts USER_REQUEST into MX_PERSON entry. This works nice in 7.1 but I am having problems with replicating this in 7.2. I created new UI task accessible by anonymous that creates new USER_REQUEST entry. I also assigned role idm.anonymous with UME action idm_anonymous to UME built in group Anonymous users.
My problem is with the field STORE. This field is a reference field to another custom entry type STORE (this entry type will be used in context based assignment). Every new employee must selects a store where she will work. The problem is when user clicks on button "Select". Web dynpro terminates and returns authorization error. I also tested this with entry type MX_ROLE. I added attribute MXREF_MX_ROLE and same issue. So it seems that just assigning UME action idm_anonymous is not enough to list objects from identity store. I found a workaround for this issue. When I assign also UME action idm_authenticated to Anonymous users then it does not dump and I get a pop up window where I can search for store. It does not seem right to assign idm_authenticated to anonymous users.
Another issue is with display task for entry type USER_REQUEST. I assigned a display task to entry STORE and I set that Anonymous have access to this task in Access control tab. I assigned default value to the field store. So when a user opens page she can see a hyper link to display already assigned store. When user clicks on this hyper link it opens a new pop up window and user must authenticate against Java AS. After successful authentication the display task for entry STORE is displayed. I would assume that anonymous user can display it without authentication.
So to me it seems like authorization checks have been changed in 7.2 versions and are more strict for anonymous tasks. Hence my question is how can I implement my scenario. Am I missing some configuration or what's the proper solution to my two issues? I don't count assigning idm_authenticated to Anonymous users as a solution. This workaround does not solve my second issue.
ThanksSome of the folks from Trondheim labs check, but rather infrequently. There's another person who I guess is in consulting that also checks from time to time.
Sorry I can't help you with your main question...
Matt -
Acs and Dynamic vlan assignment problem
Hi all,
I'm unable to dinamically pass the Radius attribute , about assigned vlan, to 802.1x clients.
I'm sure that everything is well configured but the only way to do it is configuring these attributes directly on user or group properties.
When i try to pass these attributes by appliction of a Shared RAC (acs 4.2) or NAP (ACS 5.0) the only message that i can find on the switch, where the vlan has to be configured, is:
dot1x-ev:Received VLAN is No Vlan
dot1x-ev:Received VLAN Id -1
The user is still authenticated successfully ( and all the profiles correctly assigned) but remain in the vlan statically configured on the interface.
The logic is working, but transmission do not.
Is this a bug ?test the authentication again.If is still fails, set the logging to full on the ACS server using:
http://www.cisco.com/en/US/products/sw/secursw/ps2086/products_tech_note09186a00800afec1.shtml#setting_acs
Also Check if you are running another RADIUS product on the same server as the ACS services and the same decryption was being used.Reset shared key on switch and radius server. -
Photoshop, smart objects and dynamic filters performance issues
Hello,
I am quite new to Photoshop, after several years with Capture NX 2 to process thousands of NEF and RW2 files (RAW from Nikon and Panasonic).
I use Photoshop to read RAW pictures, convert them to a smart object, then apply several dynamic filters, mainly from the Nik Collection (Dfine, Color Efex Pro, Sharperner Pro), sometimes Topaz Denoise. I do that with actions, so I can batch process many pictures.
But sometimes I have to manually adjust some settings, and this where I do not really understand the way Photoshop works. If I have to adjust let say the last filter on the stack, Photoshop reprocesses all the filters below, which can be very tedious as this takes lot of time.
Is there a way to tell Photoshop to keep all intermediate data in memory, so if you have to adjust one of the last filters the process starts immediately?
Any help would be greatly appreciate.
Frederic.Thank you Chris.
I am surprised, as for years there has been a lot of discussions about Capture NX2 which was supposed to be slow. In fact, when using the same filters (+ Nik Color Efex), NX2 is much much faster than Photoshop, and when you have to make an adjustment in any of the setttings, you can do that immediateley.
Of course, Photoshop is completely opened and NX2 totally closed (and now not supported anymore).
But, I really don't know how to adapt my workflow, except buying the most powerful PC possible (I already have 2 which are quite powerful), and this will still be far from being comfortable. I am used to tune manually many many pictures (adjust noise reduction, sharpening, light, colors ...), and this was quite fast with NX2.
I am probably not on the correct forum for this, and I will try to investigate elsewhere.
Anyhow, thank you for your answer.
Frédéric -
How to get Request object and LDAP user
Hi All,
How to get Request object, coz i want to see the out put of this code
IUser myUser = request.getUser();
String uid=myUser.getUid();
I want to get only LDAP user from the server, for that i am having code but i think this code is returning me all user from the server.
com.sap.security.api.IUser user = null;
try {
IUserFactory userFactory = UMFactory.getUserFactory();
IUserSearchFilter searchFilter = userFactory.getUserSearchFilter();
ISearchResult searchResult = userFactory.searchUsers(searchFilter);
int count = 0;
List list = new ArrayList();
while (searchResult.hasNext()) {
count++;
String uniqueid = (String) searchResult.next();
user = userFactory.getUser(uniqueid);
list.add(user.getUniqueName());
This code is giving me all user from the server LDAP and as well as portal user.
But i want only LDAP.
Please help me out. It's urgent.
Regards,
DeepakHi
use the following code
//Request
IWDRequest = WDProtocolAdapter.getProtocolAdapter().getRequestObject();
//User
IWDClientUser = WDClientUser.getCurrentUser();
Regards
Ayyapparaj
Maybe you are looking for
-
HT1320 I have a IPOD 2nd Gen and it will no longer connect to a Volvo system any ideas?
I have a Ipod 2nd Generation which no longer connects to the inbould 59 plate Volvo any ideas
-
Are Oracle Java Serlet and JSP samples working in Oracle9i?
Oracle web site provides many good Servlet and JSP samples. All the instructions talk about Oracle8i. Does anybody know for sure they are working under Oracle9i or not? Thanks! H.
-
Bug when saving transparent png
I just saved a few pngs with transparent backgrounds and somehow the icons for those new images are being merged or overlaid with previously saved jpgs in my photo stream. When I open them, I see the picture I expect so there's no damage occurring, j
-
Business Partner for Issue Management
Hi! Does anyone have documentation on how to create a business partner in transaction BP and have it show up in the Processor list in Issue Management? Thanks, Lonny
-
Issue setting chart title styles.
Hello all, For some reason I am having an issue with setting underline and color fill for the title. -fx-font-size: 12px; -fx-underline: true; -fx-fill: red; the font size works, but the other 2 do not. When in scene builder and this is put under "S