Capturing user details

how can i get the all details like host details, user details,
machine # , process or session id for a user or process
that updates a particular table.
i will use the code provided by you later in a trigger to capture.
Please help ASAP
Thanks.

In Oracle, there are two ways to get a privilege. You can have it granted directly to you, i.e.
GRANT select any dictionary TO user_nameor the privilege can be granted to a role which is granted to you
GRANT select any dictionary TO developer_role
GRANT developer_role TO user_nameOnly privileges granted directly to you are visible in definer's rights stored procedures (the default). If you've been granted privileges via a role, you would be able to query the table at the SQL*Plus prompt, but not inside a PL/SQL block.
Justin

Similar Messages

  • Capture users details when logins to the applicaiton

    Hello,
    Can anyone please, help me with this issue. I am using APEX 3.2 version and I want to capture the details of the user mainly user id; their session id; when he/she logged to the application (Date & Time), which pages did he accessed within the application; ip address. After capturing the details i want to insert these into a sample table. So that I can display the details - such as users last visited date to the application.
    Thanks,
    Orton

    Hello Orton,
    Try checking out ApEx's built-in views Utilities > APEX Views. There is a wealth of information in those views. You'll need logging turned on for your application(s) - that is done in Shared Components > Definition. Using this information or summarizations of this information, should get you well on your way. One note - I believe the logs you will be interested in do get cleared automatically (forgive me I don't remember the frequency) so depending on how far back you need to report you may need to set up something to copy this data into your own tables.
    Hope this helps,
    John

  • Capturing user response based on radio button

    I am trying to capture user response based on yes or no reply to a required radio button.  If they answer yes, they need to provide details.  The radio button values are N and Y, nothing listed under item, the captions are turned off. I used the LiveCyclePopUp.pdf sample by George Kaiser as a go-by and modified for my radio button/text field name and added the visible/invisible, but no luck.
    Here is what I'm trying, but it's not working, nothing happens when I click either yes or no, am using javascript. 
    Once this is working right, if possible, I would like to add to my submit button a double check to make sure if this radio button answer is Y and the text box is null, go back and provide the answer, but the most important part is to get this part working.  Any ideas what I'm missing?  Thank you!
    switch (this.rawValue)
        case "Y":
        Response25AY.presence = "visible";
        Response25AY = xfa.host.response("Please enter "YES" details (date, injury details, corrective action) below", "Q25A YES DETAILS", "Please enter "YES" details (date, injury details, corrective action) here . . . ");
        break;
        case "N":
        Response25AY.presence = "invisible";
        break;

    Hi,
    Firstly, the syntax is JavaScript, so when setting the Response25AY, you would need to include .rawValue:
    Use of quotation marks within the script will give a syntax error (around the YES).
    A small note: I would not duplicate the question as a default value. It does not really add value.
    So this should be closer:
    Response25AY.rawValue = xfa.host.response("Please enter YES details (date, injury details, corrective action) below", "Q25A YES DETAILS");
    Can you check the relative reference from the radio button group to the Response25AY object. It may be that the reference in the script is not full enough and is incomplete.
    Also I would place this script in the click event of the radio button exclusion group.
    Lastly, check the JavaScript Console (Control+J) when previewing the form, for errors.
    Hope that helps,
    Niall

  • How do I get the Manged bean and Taskflow logic for Disable button in User details Modify page

    Hi,
    I have a requirement where I have to add to custom buttons like "Terminate" and "Reinstate" in the users detail page. Terminate is closely modeled with "Disable" button of user details page. Before I develop the custom beans and register the task flow for the custom button, I just want to understand the logic written in the managed bean for "Disable" button and understand what is there in its associated task flow. Am trying to get these details from OIM. Not sure where exactly I can get the code for this and customize as per my requirement.
    Please suggest the exact location?
    Raghu

    Thanks for the information - I still was hoping that the article Mario mentioned above was accessible (perhaps just moved)?  Somewhere on the BC system?  Just so I can add it to my BC help folder - as well as even share it with clients who want to try things on their own (best to give them some help in that direction so they don't fumble through things).
    I have the checkout form populating information, if they have purchased in the past it will populate their address - but I am also trying to get their "account page" to do the same  (basically show them what their current information in the system is - then allow them to update whatever might be wrong or need changes).  We have a login page, for people to sign up without having "bought" something - so the CRM won't have their billing/shipping info in the system yet.  Trying to capture that without a purchasing being made.

  • How to find out the User Details for the particular transaction

    Hi,
    Actually AJAB -Asset Year closing was done by One User.How and Where to find out the User details who executed the Transaction.Kindly tell me the T-code for this.
    Thanks
    Sap Guru

    Hi:
    Please contact you basis administrator.Give him the T.code and date when Year closing was done. He may resolve your problem.
    Please let me know if you need more information,
    Assign points if useful.
    Regards
    MSReddy

  • Tabular Form - How to store in a column the User details (APP_USER)

    Hi all,
    I have let's say the following table:
    USER_COMMENTS(
    ID number primary key,
    COMMENT_TEXT varchar2(50),
    POSTED_BY_USER varchar2(50),
    DATE_POSTED date,
    UPDATED_BY_USER varchar2(50),
    DATE_UPDATED date)
    How do I, using a Tabular Form, get the USER details in the columns POSTED_BY_USER and UPDATED_BY_USER and the SYSDATE in DATE_UPDATED...
    I've tried the following:
    Created tabular form, all fields included. In Report Attributes > edit UPDATED_BY_USER > Display as Display as Text (saves state); Default Type: Item (application or page item); Default: APP_USER.
    It's not working.
    Thanks!
    Andrei

    It has to be a text field column type with source like the other updatable columns. You should hide that column and create a second of display as text if you want to show the content. Once this is done then you can use the default value and just type the item name there as you did:
    P1_ITEM
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    ------------------------------------------------------------------------------

  • While updating user Details I am gettingsome error

    Hi ,
    While updating the user details from OIM server(OIM 9102 BP12) I am getting following error.Same is working properly on BP02.Can anybody help me to find out what is the root cause of this problem?
    - I am trying to ceare a user through PSFT test utility, and getting following error.Same error is coming when we are creating user from
    OIM server console.
    Running GETROGUEACCOUNTSAMACCOUNTNAME
    Target Class = com.thortech.xl.utilities.rogueAccountDetect
    $$$ Rogue Account Detect $$$
    The reconType query is: select obj_name from obj where obj_key=(select obj_key from rce where rce_key=38784)
    $$$ Recon Object is: Xellerate User
    $$$ wrong recon type for rogue account detect
    tcDeptCodeChanged Running
    Nr Name Value
    0) Lookup Name Department SiteCode Mapping
    1) From Field USR_UDF_DEPARTMENT_ID
    2) To Field USR_UDF_SITECODE
    3) Debug YES
    4) SMTP Server 10.53.12.18
    5) Email To [email protected]
    6) Email From [email protected]
    7) Trigger Field USR_UDF_SITECODE
    8) Disable Resource RACF,RACF IMS_TMCC (AutoProvision)
    9) ID Field UD_RACF_ID,UD_IMSB_ID
    10) Resource Object RACF IMS_TMCC (AutoProvision)
    11) RO Form UD_RACFUSRO
    12) Field 01 Name UD_RACFUSRO_CREATE_IND
    13) Field 01 Value RACF_CREATE
    14) Field 02 Name UD_RACFUSRO_USER_TYPE
    15) Field 02 Value IMS_TMCC
    16) Translate Email Def Department Code Lookup Error
    17) RBAC Job Codes List RBAC Job Codes
    18) RBAC Departments List RBAC Departments
    19) Job Code Field USR_UDF_JOB_CODE
    SMTP Server : 10.53.12.18
    Email To : [email protected]
    Email From : [email protected]
    Lookup Name : Department SiteCode Mapping
    From Field : USR_UDF_DEPARTMENT_ID
    Translate Email Def : Department Code Lookup Error
    To Field : USR_UDF_SITECODE
    t c D e p t C o d e C h a n g e d
    User: ()
    Old Department Code:
    New Department Code: 064010
    G E T U S E R R E S O U R C E
    This is a create
    More than one User Record Found, most likely a create
    Number of Users: 12843
    G E T L O O K U P D E F I N I T I O N S
    Lookup rows: 210
    Nr Name Value
    E V A L U A T E F I E L D D A T A
    *ACT:  :
    *OLD:  :
    *NEW: 064010 : 014
    OLD VALUE NOT FOUND IN LOOKUP!
    U P D A T E S I T E C O D E F I E L D
    Running MANAGERSEARCHCONDITIONS
    Target Class = com.thortech.xl.util.adapters.tcUtilHashTableOperations
    Running FINDMANAGER
    Running GETMANAGERCOUNT
    Running GETMANAGERKEY
    Running GENUNIQID
    Target Class = com.thortech.xl.utils.tcUserData
    <TMS 101> Flag:<Both> Checking for user in AD: khanz at server: <10.49.61.101>
    <TFS 185> Flag :<Both> Checking for user in AD: khanz at server:<10.49.61.101>
    Running CREATEGETUSERMAP
    Target Class = com.thortech.xl.util.adapters.tcUtilHashTableOperations
    Running GETUSER
    Running Create Update User Map
    Running Update Update User Map
    Running UPDATEUSER
    tcDeptCodeChanged Running
    Nr Name Value
    0) Lookup Name Department SiteCode Mapping
    1) From Field USR_UDF_DEPARTMENT_ID
    2) To Field USR_UDF_SITECODE
    3) Debug YES
    4) SMTP Server 10.53.12.18
    5) Email To [email protected]
    6) Email From [email protected]
    7) Trigger Field USR_UDF_SITECODE
    8) Disable Resource RACF,RACF IMS_TMCC (AutoProvision)
    9) ID Field UD_RACF_ID,UD_IMSB_ID
    10) Resource Object RACF IMS_TMCC (AutoProvision)
    11) RO Form UD_RACFUSRO
    12) Field 01 Name UD_RACFUSRO_CREATE_IND
    13) Field 01 Value RACF_CREATE
    14) Field 02 Name UD_RACFUSRO_USER_TYPE
    15) Field 02 Value IMS_TMCC
    16) Translate Email Def Department Code Lookup Error
    17) RBAC Job Codes List RBAC Job Codes
    18) RBAC Departments List RBAC Departments
    19) Job Code Field USR_UDF_JOB_CODE
    SMTP Server : 10.53.12.18
    Email To : [email protected]
    Email From : [email protected]
    Lookup Name : Department SiteCode Mapping
    From Field : USR_UDF_DEPARTMENT_ID
    Translate Email Def : Department Code Lookup Error
    To Field : USR_UDF_SITECODE
    tcDeptCodeChanged: new and old field value is same, returning
    tcJobCodeStatusChanged Running
    0) Trigger Field USR_UDF_JOB_CODE
    1) Debug YES
    2) Request Key Resource AD User
    3) Request Key Field UD_ADUSER_REVOKE_REQ_KEY
    4) RACF B User ID Field UD_ADUSER_B_USERID
    5) RACF T User ID Field UD_ADUSER_T_USERID
    6) RACF I User ID Field UD_ADUSER_I_USERID
    7) RACF B Resources RACF IMS_TMCC (AutoProvision)
    8) RACF I Resources RACF IMS_TMIS (AutoProvision)
    9) RACF T Resources RACF TSO_TMCC_NP (AutoProvision),RACF TSO_TMIS_NP (AutoProvision)
    10) Common Resources Lotus Notes,LAN,Internet,Stars,Focus
    11) Exclusion List Lookup.Object Exclusion List
    12) Other Delete Resources Lookup.Other Delete Resources
    13) RBAC Job Codes List RBAC Job Codes
    14) RBAC Departments List RBAC Departments
    Trigger Field : USR_UDF_JOB_CODE
    newFieldValue 99O109 oldFieldValue 99O109
    terminationFlag 0 oldTerminationFlag 0
    processFlag N
    tcJobCodeStatusChanged: new and old field value is same, returning
    ERROR,28 Dec 2010 05:49:05,199,[XELLERATE.SERVER],Class/Method: tcDataObj/eventPostUpdate encounter some problems: com.thortech.xl.dataobj.util.tcProvPolicyUtils
    java.lang.InstantiationError: com.thortech.xl.dataobj.util.tcProvPolicyUtils
    at com.thortech.xl.client.events.tcUSRevaluatePolicies.evaluatePolicies(Unknown Source)
    at com.thortech.xl.client.events.tcUSRevaluatePolicies.implementation(Unknown Source)
    at com.thortech.xl.client.events.tcBaseEvent.run(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.runEvent(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.eventPostUpdate(Unknown Source)
    at com.thortech.xl.dataobj.tcUSR.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.ejb.beansimpl.tcUserOperationsBean.updateUserData(Unknown Source)
    at com.thortech.xl.ejb.beansimpl.tcUserOperationsBean.updateUser(Unknown Source)
    at com.thortech.xl.ejb.beans.tcUserOperationsSession.updateUser(Unknown Source)
    at com.thortech.xl.ejb.beans.tcUserOperations_voj9p2_EOImpl.updateUser(tcUserOperations_voj9p2_EOImpl.java:1995)
    at Thor.API.Operations.tcUserOperationsClient.updateUser(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 Thor.API.Base.SecurityInvocationHandler$1.run(Unknown Source)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(Unknown Source)
    at weblogic.security.Security.runAs(Security.java:41)
    at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(Unknown Source)
    at Thor.API.Base.SecurityInvocationHandler.invoke(Unknown Source)
    at $Proxy61.updateUser(Unknown Source)
    at com.thortech.xl.adapterGlue.ScheduleItemEvents.adpSETBOOLEANVALUES.UPDATEUSER(adpSETBOOLEANVALUES.java:271)
    at com.thortech.xl.adapterGlue.ScheduleItemEvents.adpSETBOOLEANVALUES.implementation(adpSETBOOLEANVALUES.java:89)
    at com.thortech.xl.client.events.tcBaseEvent.run(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.runEvent(Unknown Source)
    at com.thortech.xl.dataobj.tcScheduleItem.runMilestoneEvent(Unknown Source)
    at com.thortech.xl.dataobj.tcScheduleItem.eventPostInsert(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.insert(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
    at com.thortech.xl.dataobj.tcORC.insertNonConditionalMilestones(Unknown Source)
    at com.thortech.xl.dataobj.tcORC.completeSystemValidationMilestone(Unknown Source)
    at com.thortech.xl.dataobj.tcORC.postInsertSysVal(Unknown Source)
    at com.thortech.xl.dataobj.tcORC.eventPostInsert(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.insert(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.util.tcOrderPackages.createProcessORC(Unknown Source)
    at com.thortech.xl.dataobj.util.tcOrderPackages.createOrder(Unknown Source)
    at com.thortech.xl.dataobj.util.tcOrderPackages.createOrder(Unknown Source)
    at com.thortech.xl.dataobj.util.tcOrderPackages.orderPackageForOrganization(Unknown Source)
    at com.thortech.xl.dataobj.tcOIO.provision(Unknown Source)
    at com.thortech.xl.dataobj.tcOIO.eventPostInsert(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.insert(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.tcOrgProvisionObject.insertImplementation(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.insert(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
    at com.thortech.xl.dataobj.tcUSR.orderUserProcess(Unknown Source)
    at com.thortech.xl.dataobj.tcUSR.eventPostInsert(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.insert(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.tcRCE.createUserRecord(Unknown Source)
    at com.thortech.xl.dataobj.tcRCE.applyActionRules(Unknown Source)
    at com.thortech.xl.dataobj.tcRCE.checkDataSorted(Unknown Source)
    at com.thortech.xl.dataobj.tcRCE.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.tcRCE.finishDataReceived(Unknown Source)
    at com.thortech.xl.schedule.jms.reconOffline.ProcessOfflineReconMessages.finishReconciliationEvent(Unknown Source)
    at com.thortech.xl.schedule.jms.reconOffline.ProcessOfflineReconMessages.execute(Unknown Source)
    at com.thortech.xl.schedule.jms.messagehandler.MessageProcessUtil.processMessage(Unknown Source)
    at com.thortech.xl.schedule.jms.messagehandler.ReconMessageHandlerMDB.onMessage(Unknown Source)
    at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:466)
    at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:371)
    at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:327)
    at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4547)
    at weblogic.jms.client.JMSSession.execute(JMSSession.java:4233)
    at weblogic.jms.client.JMSSession.executeMessage(JMSSession.java:3709)
    at weblogic.jms.client.JMSSession.access$000(JMSSession.java:114)
    at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:5058)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    ERROR,28 Dec 2010 05:49:05,207,[XELLERATE.SERVER],Class/Method: tcDataObj/save Error :Data Update Failed
    ERROR,28 Dec 2010 05:49:05,210,[XELLERATE.DATABASE],Class/Method: tcDataBase/rollbackTransaction encounter some problems: Rollback Executed From
    java.lang.Exception: Rollback Executed From
    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.ejb.beansimpl.tcUserOperationsBean.updateUserData(Unknown Source)
    at com.thortech.xl.ejb.beansimpl.tcUserOperationsBean.updateUser(Unknown Source)
    at com.thortech.xl.ejb.beans.tcUserOperationsSession.updateUser(Unknown Source)
    at com.thortech.xl.ejb.beans.tcUserOperations_voj9p2_EOImpl.updateUser(tcUserOperations_voj9p2_EOImpl.java:1995)
    at Thor.API.Operations.tcUserOperationsClient.updateUser(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 Thor.API.Base.SecurityInvocationHandler$1.run(Unknown Source)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(Unknown Source)
    at weblogic.security.Security.runAs(Security.java:41)
    at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(Unknown Source)
    at Thor.API.Base.SecurityInvocationHandler.invoke(Unknown Source)
    at $Proxy61.updateUser(Unknown Source)
    at com.thortech.xl.adapterGlue.ScheduleItemEvents.adpSETBOOLEANVALUES.UPDATEUSER(adpSETBOOLEANVALUES.java:271)
    at com.thortech.xl.adapterGlue.ScheduleItemEvents.adpSETBOOLEANVALUES.implementation(adpSETBOOLEANVALUES.java:89)
    at com.thortech.xl.client.events.tcBaseEvent.run(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.runEvent(Unknown Source)
    at com.thortech.xl.dataobj.tcScheduleItem.runMilestoneEvent(Unknown Source)
    at com.thortech.xl.dataobj.tcScheduleItem.eventPostInsert(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.insert(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
    at com.thortech.xl.dataobj.tcORC.insertNonConditionalMilestones(Unknown Source)
    at com.thortech.xl.dataobj.tcORC.completeSystemValidationMilestone(Unknown Source)
    at com.thortech.xl.dataobj.tcORC.postInsertSysVal(Unknown Source)
    at com.thortech.xl.dataobj.tcORC.eventPostInsert(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.insert(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.util.tcOrderPackages.createProcessORC(Unknown Source)
    at com.thortech.xl.dataobj.util.tcOrderPackages.createOrder(Unknown Source)
    at com.thortech.xl.dataobj.util.tcOrderPackages.createOrder(Unknown Source)
    at com.thortech.xl.dataobj.util.tcOrderPackages.orderPackageForOrganization(Unknown Source)
    at com.thortech.xl.dataobj.tcOIO.provision(Unknown Source)
    at com.thortech.xl.dataobj.tcOIO.eventPostInsert(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.insert(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.tcOrgProvisionObject.insertImplementation(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.insert(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
    at com.thortech.xl.dataobj.tcUSR.orderUserProcess(Unknown Source)
    at com.thortech.xl.dataobj.tcUSR.eventPostInsert(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.insert(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.tcRCE.createUserRecord(Unknown Source)
    at com.thortech.xl.dataobj.tcRCE.applyActionRules(Unknown Source)
    at com.thortech.xl.dataobj.tcRCE.checkDataSorted(Unknown Source)
    at com.thortech.xl.dataobj.tcRCE.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.tcRCE.finishDataReceived(Unknown Source)
    at com.thortech.xl.schedule.jms.reconOffline.ProcessOfflineReconMessages.finishReconciliationEvent(Unknown Source)
    at com.thortech.xl.schedule.jms.reconOffline.ProcessOfflineReconMessages.execute(Unknown Source)
    at com.thortech.xl.schedule.jms.messagehandler.MessageProcessUtil.processMessage(Unknown Source)
    at com.thortech.xl.schedule.jms.messagehandler.ReconMessageHandlerMDB.onMessage(Unknown Source)
    at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:466)
    at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:371)
    at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:327)
    at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4547)
    at weblogic.jms.client.JMSSession.execute(JMSSession.java:4233)
    at weblogic.jms.client.JMSSession.executeMessage(JMSSession.java:3709)
    at weblogic.jms.client.JMSSession.access$000(JMSSession.java:114)
    at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:5058)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

    Search on metalink for the following error to see lots of documents related to this error and the specific solution.
    [XELLERATE.SERVER],Class/Method: tcDataObj/eventPostUpdate encounter some problems: com.thortech.xl.dataobj.util.tcProvPolicyUtils
    java.lang.InstantiationError: com.thortech.xl.dataobj.util.tcProvPolicyUtils

  • Win XP to Win 7 - Using OSD - Capturing User data from Profiles

    Hi All,
    I'm having a few issues with capturing users profiles using USMT moving from Windows XP to Windows 7 as part of a task sequence - we use a SMP to save the data but strangely it wont apply the data on Apply state store. The OS deployment works fine but saving
    user's data and moving it too new PC doesnt seem to apply. I am using Stock requests for the task sequence Find user state storage capture user state etc and like wise at the end apply user state and release user state but doesnt seem to work. Are there any
    variables that need to be added to get this working or am i missing something stupid? We do use same PC to image and have mentioned about hardlinking but powers that be want to use SMP. How would this work also if when using Computer association(due to the
    Windows 7 pc not being setup yet)?
    Apologies if im missing something simple

    You are doing what is called a "refresh" OSD scenario...refreshing the OS on the computer while maintaining user state. SCCM automatically creates a computer association in that instance. If an existing Replace (Old to New) computer association
    does not already exist, then it will create a Refresh Computer Association to allow the user state to be restored to the same computer. You wouldn't need to do anything special.
    The key is that you need to have your task sequence be capable of both capturing the user state at the beginning of the task sequence, then laying down the new OS, then doing the restore of the user state...all within the same task sequence.
    If you utilize the MDT integration with SCCM and build an MDT integrated task sequence, this functionality is already built in. Although for simple testing purposes to show the concept, you can simply add to your existing task sequence.
    Your task sequence would need to include the following major sections:
    Capture user state (including the request/release state store tasks)
    Lay down the OS (essentially the components of your regular bare metal imaging task sequence)
    Restore user state (including the request/release state store tasks)
    <p>Jarvis </p>
    <b>Blog:</b> <a href="http://verbalprocessor.com/feed/" target="_blank">
    <img src="http://aka.ms/gmvm2k" border="0"></a> <a href="http://verbalprocessor.comhttp://verbalprocessor.com">http://verbalprocessor.com</a>
    <b>Twitter:</b> <a href="https://twitter.com/VerbalProcessor" target="_blank"><img src="http://aka.ms/iejgcv" border="0"></a>
    <p><font size="1">Note: Posts are provided “AS IS” without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.</font></p>
    <p><font size="1">The postings on this site are my own and don’t necessarily represent my employer’s positions, strategies or opinions.</font></p>

  • User details are missing in Access request in GRC 10.0

    Hello All,
    When we are trying to create Access request in GRC 10.0 for an user it results as user  details not found.
    Under SPRO - Maintain data source configuration we have configured 2 HR systems HR1 and HR2.
    But the User details exits in HR1 system and lies in validity also. We have tried to run the Repository Object Sync also still unable to search the details.
    But we observed even after the Sync job User details are not created in table GRACUSER and GRACUSERCONN. Is this could be the problem. Why its not updating even after the Sync job many times almost 10 times.
    We have also configured parameter 5023 to YES.Please advise.
    Thanks in advance.

    Did the sequence for HR1 set to 1 or 2, I hope you are following the suggestions given by Luciana in other thread.
    Please post your data source config screenshots otherwise.
    BR,
    Mangesh

  • User Details of F110 Run

    Hi,
    I want to get the details of the USER who did the Payment Run using F110.Neither REUGH nor REGUP is storing those details.There is a table called REGUA which is having the details but not for every run.
    Do anyone here know the table which stoes the User details of the User who did the Payment Run in F110.
    Thanks,
    K.Kiran.

    Andreas,
    I got the Payment Doc number from REGUH w.r.t the RUNDATE/ID and then passed vblnr,year from the rundate,bukrs to BKPF to get the user details.
    Thanks,
    Kiran.

  • User detail in custom master page

    Hi All,
    I want to make appear logged in user detail in master page. 
    In SharePoint 2013, User can see "about me" detail in System account appearing at top right corner. 
    I want same user detail to appear in custom master page. I am not sure where we can look for it. 
    I guess we need to copy user detail tag from oslo master page and can paste in our custom master page. 
    But i am not sure where to find this. 
    Any help is much appreciated.
    Thanks..
    Rakesh

    Hi,
    According to your post, my understanding is that you wanted to display user information in the master page.
    We can register SPSWC at the top of the master page to call the user profiles.
    Register SPSWC at the top of the master page:
    <%@ Register Tagprefix="SPSWC" Namespace="Microsoft.SharePoint.Portal.WebControls" Assembly="Microsoft.SharePoint.Portal, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
    Register the propertys below the starting Form tag:
    <SPSWC:ProfilePropertyLoader runat="server"/>
    There are some good articles for your reference.
    http://chayadigital.wordpress.com/2012/03/20/displaying-user-information-on-a-master-page-in-sharepoint-2010/
    http://chrisstahl.wordpress.com/2012/12/21/user-information-in-sharepoint-2010-with-help-of-the-spcwc-control/
    http://blog.bugrapostaci.com/2011/06/22/sharepoint-2010-change-your-display-of-wellcome-name/
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • Tables in which basis users details are stored

    Hello,
    I'm writing an application to read Basis users details using JCO. But I'm not able to locate in which tables the users details are stored. I tried looking at USR* tables, but most of its tables doesn't have data. Only usr01 and usr02 are having some relevant data. I also tried looking at ADR* tables, which are again of no use.
    If anyone knows in which tables Basis users details are stored, please let me know.
    Thanks & Regards,
    Chandrasekhar.

    Hi Chandrasekhar,
    SAP users are stored in the usr01 table (see transaction SE16.)
    Best regards,
    Houcine

  • Script to get the user details by running a view from powershell

    Hi,
        I have a use-case of getting the list of users, who got modified in last one week or so. There was no direct way of getting the results as office-365 doesn't have the option. As i posted in a forum they suggested to use view based for retrieving
    the user details. I was able to get some user details through UI. When i asked for the option of getting it from powershell they suggested to post in this forum. Link on the question posted in forum is
    community.office365.com/en-us/forums/148/p/212305/646170.aspx#646170 your help is appreciated. Thanks in Advance

    Hi Sam,
    My list of servers are exported from CMDB data base and filter criteria i have used is role,status and first few characters of the server name.
    $CIlist = Import-Csv C:\Scripts\DiskSpace\Servers_CI.csv
    $diskspace = @()
    $CIlist | where {($_.Name -like '*XXXXXXXX*') -and ($_.Role -like '*XXXXXXXXXX*') -and ($_.Status -like '*XXXXXXXXXXXXXX*') } |
    select Name | FT
    # This part gives the list of servers.
    # below script gives the hard disk details of servers from a list
    $comp= Get-Content "C:\Scripts\DiskSpace\systems.txt"
    $diskvalue = @()
    foreach($pc in $comp)
    if (test-connection -CN  $pc -Count 1 -erroraction silentlycontinue)
        $diskvalue += Get-WmiObject -Class Win32_logicaldisk -ComputerName $pc -Filter DriveType=3 | 
        Select SystemName , DeviceID , @{Name=”size(GB)”;Expression={“{0:N1}” -f($_.size/1gb)}}, @{Name=”freespace(GB)”;Expression={“{0:N1}” -f($_.freespace/1gb)}}
        $diskvalue | Export-Csv C:\Scripts\DiskSpace\DiskReport.csv -NoTypeInformation
    else
    "$pc `t offline" | Out-file C:\Scripts\DiskSpace\offlinesystems.csv -encoding ASCII -append
    Is there any option to pass the result of first part to second part without exporting to a csv ot txt. or club this both together ??
    ToJo

  • Need help in pulling ADLDS user details

    Hi,
    I am trying to pull all the user details with a certain search criterea from a ADLDS with more than 20 user attributes. I tried both directory searcher and Powershell for gathering the information (out of this powershell works fast). Due to formating the
    attributes it takes more than 30 minutes to run the script. Could some suggest me a better solution for this.
    Thanks
    Pradeep

    Richard,
    I  started using Directory searcher and the result  was less than 50 percent less than the time taken for Get-aduser. But in below script total time taken is more than three hours where as in VB and Perl it takes less than 20 minutes for the
    total execution including the 5 minutes of wait time. Could you help me increase the time taken. Total of around 50 plus attributes . When i go into for loop only it takes time
    ========================== 
    $config="E:\Powershell\CONFIG"
    $logdir="E:\Powershell\LOGS"
    $scriptdir="E:\Powershell\FEEDS"
    $outdir="E:\Powershell\OUTBOX"
    $configfile="$config\config.txt"
    $configfile="$config\config.txt"
    $date = Get-Date
    $date2=$date.ToString("MMddyy")
    $F_FeedFileName="Transfer_full.txt"
    $F_FeedBackupFileName="Transfer_full_bak.txt"
    $file3="Transfer_temp.txt"
    $global:scriptname="GeneralFeedD.ps1"
    $script = $scriptname.Split(".")
    $name=$script[0]
    $global:date = Get-Date
    $log= "$logdir\$name"
    $global:flag=0
    $searchbase="ou=people,o=xxxx"
    $adldsServer=get-content $configfile
    $F_FeedAttrCfg=get-content "Feed_Attributes.cfg"
    $strFileName="$log\$name.txt"
    $Backuplogfile="$log\$name"+"_bak.txt"
    #File Details
    $EmployeeFeedNormal = "EmployeeFeedNormal"
    $ContractorFeedNormal = "ContractorFeedNormal"
    $VendorContractorFeedNormal = "VendorContractorFeedNormal"
    $EmployeeFeedNormalwithUID = "EmployeeFeedNormalwithUID"
    $ContractorFeedNormalwithUID = "ContractorFeedNormalwithUID"
    $VendorContractorFeedNormalwithUID = "VendorContractorFeedNormalwithUID"
    $EmployeeFeedNormalwithUIDandGUID = "EmployeeFeedNormalwithUIDandGUID"
    $ContractorFeedNormalwithUIDandGUID = "ContractorFeedNormalwithUIDandGUID"
    $VendorContractorFeedNormalwithUIDandGUID = "VendorContractorFeedNormalwithUIDandGUID"
    $EmployeeFeedNormal_bkp = "EmployeeFeedNormal.bak"
    $ContractorFeedNormal_bkp = "ContractorFeedNormal.bak"
    $VendorContractorFeedNormal_bkp = "VendorContractorFeedNormal.bak"
    $EmployeeFeedNormalwithUID_bkp = "EmployeeFeedNormalwithUID.bak"
    $ContractorFeedNormalwithUID_bkp = "ContractorFeedNormalwithUID.bak"
    $VendorContractorFeedNormalwithUID_bkp = "VendorContractorFeedNormalwithUID.bak"
    $EmployeeFeedNormalwithUIDandGUID_bkp = "EmployeeFeedNormalwithUIDandGUID.bak"
    $ContractorFeedNormalwithUIDandGUID_bkp = "ContractorFeedNormalwithUIDandGUID.bak"
    $VendorContractorFeedNormalwithUIDandGUID_bkp = "VendorContractorFeedNormalwithUIDandGUID.bak"
    # FUNCTIONS
    # Message
    Function message ([string] $line)
        $date = Get-Date
        $line = "$scriptname | INFO | $date | $line"
        $line| Out-File $strFileName -Append  
    Function error ([string] $line)
        $date = Get-Date
        $line = "$scriptname | ERROR | $date | $line"
        $line| Out-File $strFileName -Append  
    # Reading Configuration Files
    if((Test-Path $configfile) -ne 0)
        $adldsServer=get-content $configfile
            foreach($en in $adldsServer)
         if($en -match "server")
             $server=$en.split("=")
             $HOST1=$server[1]
         if($en -match "password")
             $pass=$en.split("=")
             $PASSWD=$pass[1]
         if($en -match "user")
             $user=$en.split("=")
             $ADMIN=$user[1]
        $PWord = ConvertTo-SecureString –String $PASSWD –AsPlainText -Force
        $Credential = New-Object –TypeName System.Management.Automation.PSCredential –ArgumentList $ADMIN,$PWord
    else
     Error ("Configuration File $configfile is not present");
     Message ("Calling script SendMail.pl for sending mail");
        $global:errormsg="Configuration File $configfile is not present"
        Invoke-Expression "$scriptdir\SendMail.ps1"
        Error "Script failed"
        Exit
    # Checking Log Directory
    if((Test-Path $log) -eq 0)
        #cd "$logdir"
        mkdir "$logdir\$name"
    If ((Test-Path $strFileName) -eq 0)
       New-Item $strFileName -type file
       message "New log file created"
    else
        Copy-Item $strFileName $Backuplogfile
        Remove-Item $strFileName
        message "Backup of log file created"
    # Checking Script Directory
    if((Test-Path $scriptdir) -eq 0)
     Error ("Script Directory $scriptdir is not present");
     Message ("Calling script SendMail.pl for sending mail");
        $global:errormsg="Script Directory $scriptdir is not present"
        Invoke-Expression "$scriptdir\SendMail.ps1"
        Error "Script failed"
        Exit
    # Checking Outbox Directory
    if((Test-Path $outdir) -eq 0)
     Error ("Outbox Directory $outdir is not present");
     Message ("Calling script SendMail.pl for sending mail");
        $global:errormsg="Outbox Directory $outdir is not present"
        Invoke-Expression "$scriptdir\SendMail.ps1"
        Error "Script failed"
        Exit
    message "*****Beginning of module*****"
    $FeedHeaderAttribs = @(0..64)
    $FeedHeaderAttribs = $F_FeedAttrCfg.split("|")
    $FeedAttrLength = $FeedHeaderAttribs.length
    # Taking Back up of the files
    # Check for previous day output.csv file and take back up of it if present
    if((Test-Path $EmployeeFeedNormal) -ne 0 )
        copy-Item $EmployeeFeedNormal $EmployeeFeedNormal_bkp
        Remove-Item $EmployeeFeedNormal
    if((Test-Path $ContractorFeedNormal) -ne 0 )
        copy-Item $ContractorFeedNormal $ContractorFeedNormal_bkp
        Remove-Item $ContractorFeedNormal
    if((Test-Path $VendorContractorFeedNormal) -ne 0 )
        copy-Item $VendorContractorFeedNormal $VendorContractorFeedNormal_bkp
        Remove-Item $VendorContractorFeedNormal
    if((Test-Path $EmployeeFeedNormalwithUID) -ne 0 )
        copy-Item $EmployeeFeedNormalwithUID $EmployeeFeedNormalwithUID_bkp
        Remove-Item $EmployeeFeedNormalwithUID
    if((Test-Path $ContractorFeedNormalwithUID) -ne 0 )
        copy-Item $ContractorFeedNormalwithUID $ContractorFeedNormalwithUID_bkp
        Remove-Item $ContractorFeedNormalwithUID
    if((Test-Path $VendorContractorFeedNormalwithUID) -ne 0 )
        copy-Item $VendorContractorFeedNormalwithUID $VendorContractorFeedNormalwithUID_bkp
        Remove-Item $VendorContractorFeedNormalwithUID
    if((Test-Path $EmployeeFeedNormalwithUIDandGUID) -ne 0 )
        copy-Item $EmployeeFeedNormalwithUIDandGUID $EmployeeFeedNormalwithUIDandGUID_bkp
        Remove-Item $EmployeeFeedNormalwithUIDandGUID
    if((Test-Path $ContractorFeedNormalwithUIDandGUID) -ne 0 )
        copy-Item $ContractorFeedNormalwithUIDandGUID $ContractorFeedNormalwithUIDandGUID_bkp
        Remove-Item $ContractorFeedNormalwithUIDandGUID
    if((Test-Path $VendorContractorFeedNormalwithUIDandGUID) -ne 0 )
        copy-Item $VendorContractorFeedNormalwithUIDandGUID $VendorContractorFeedNormalwithUIDandGUID_bkp
        Remove-Item $VendorContractorFeedNormalwithUIDandGUID
    message "Backup of files is taken"
    $hash1=@{}
    for ($i=0;$i -lt $FeedAttrLength;$i++)
         $hash1.Set_Item($FeedHeaderAttribs[$i],$i)
    $FeedFileHeader="employeenumber|cn|pregisteredname|givenname|pmiddlename|sn|title|telephonenumber|mobile|pager|facsimiletelephonenumber|pmaildrop|pnotesfullname|mail|pmanagerid|manager_name|manager_mail|manager|ppersontype|employeeType|pemploymentstatus|pemploymentstatus_cd|pemploymentstatusdate|pcompany|plocalorganization|pbusiness_cd|pbusiness_descr|punit_cd|punit_descr|pdepartmentid|pdepartment|pcc-cd|pcc_descr|pbuildingcode|pbuildingname|postaladdress|postalcode|l|st|c|vcid|pvendorcompanyid|pvendorcompany|pcompanydesignation|pjobcode|pdeactivationdate|pband|pleaderindicator|uid|pguid|hiredate|pstartdate|createtimestamp"
    $FeedFileHeader = $FeedFileHeader -replace "employeetype","employeeType"
    $FeedFileHeader = $FeedFileHeader -replace "pcc-cd","pcc_cd"
    message "Filehandle for output file opened"
    $FeedFileHeader | out-file $EmployeeFeedNormal -Append
    $FeedFileHeader | out-file $ContractorFeedNormal -Append
    $FeedFileHeader | out-file $VendorContractorFeedNormal -Append
    $FeedFileHeader | out-file $EmployeeFeedNormalwithUID -Append
    $FeedFileHeader | out-file $ContractorFeedNormalwithUID -Append
    $FeedFileHeader | out-file $VendorContractorFeedNormalwithUID -Append
    $FeedFileHeader | out-file $EmployeeFeedNormalwithUIDandGUID -Append
    $FeedFileHeader | out-file $ContractorFeedNormalwithUIDandGUID -Append
    $FeedFileHeader | out-file $VendorContractorFeedNormalwithUIDandGUID -Append
    # Function to fetch the attributes
    Function DLookUp(){
    $Result=$o=$objitem=$null
    $Strfilter="(&(obuseraccountcontrol=ACTIVATED)(pcompanydesignation=xxxx)(|(ppersontype=C)(ppersontype=vc)))"
    $use=$ADMIN.Split("\")
    $u=$use[1]
    $Domain="LDAP://$Host1/ou=people,o=aexp"
    $objDomain = New-Object System.DirectoryServices.DirectoryEntry $Domain,$u,$PASSWD
    $objSearcher = New-Object System.DirectoryServices.DirectorySearcher
    $objSearcher.SearchRoot = $objDomain
    $objSearcher.PageSize = 1000
    $objSearcher.Filter = $strFilter
    $objSearcher.SearchScope = "Subtree"
    $colPropList=@("employeenumber","cn","pregisteredname","givenname","pmiddlename","sn","title","telephonenumber","mobile","pager","facsimiletelephonenumber","pmaildrop","pnotesfullname","mail","pmanagerid","manager","ppersontype","employeeType","pemploymentstatus","pemploymentstatuscd","pemploymentstatusdate","pcompany","plocalorganization","pbusinesscd","pbusinessdescr","punitcd","punitdescr","pdepartmentid","pdepartment","pcc-cd","pccdescr","pbuildingcode","pbuildingname","postaladdress","postalcode","l","st","c","vcid","pvendorcompanyid","pvendorcompany","pcompanydesignation","pjobcode","pdeactivationdate","pband","pleaderindicator","uid","pguid","hiredate","pstartdate","createtimestamp"");
    foreach ($i in $colPropList){$a=$objSearcher.PropertiesToLoad.Add($i)}
    $colResults = $objSearcher.FindAll()
    $objItem = $Colresults.Properties
    if ($objItem -eq $null) {
           $result = "NoMatch"
        else {
            $result = $objItem
        return $result
        $objSearcher.Dispose()
    message "Querying LDAP started"
    $dObj = DLookup "obuseraccountcontrol" "DEACTIVATED"
    $GlobalCount=0
    $ProcessedProfiles=0
    $LogCounter=0
        $LineArray=@(0..64)
        $OutputArr=@(0..64)
        $entryn=@(0..2)
    foreach($entry in $dObj)
     $GlobalCount=$GlobalCount+1
     $ProcessedProfiles=10000*$LogCounter
     if ( $GlobalCount -eq ($ProcessedProfiles+1) ){
              message "Processed $ProcessedProfiles profiles so far"
              $LogCounter = $LogCounter+1
        $pmanagerid=$entry.Item("pmanagerid")
     $manager=$entry.Item("manager")
     $manager_name=""
     $manager_mail=""
    if($manager)
     $TempEhash=$manager.split(",")
     $ehashval1=$TempEhash[0]
     if(($ehashval1.IndexOf("pehash=") -eq 0) -or ($ehashval1.IndexOf("cn=") -eq 0))
      $ehashval2=$ehashval1.split("=")
      $attr=$ehashval2[0]
      $val=$ehashval2[1]
            $man = Get-ADuser -Server $HOST1 -Credential $Credential -Filter {$attr -eq $val} -searchbase $searchbase -Properties cn,mail
            if($man -ne $null)
                $manager_name=$man.cn
                $manager_mail=$man.mail
        for ($i=0;$i -lt $FeedAttrLength;$i++)
      if($FeedHeaderAttribs[$i] -eq "manager_name")
       $LineArray[$i]=$manager_name
      elseif($FeedHeaderAttribs[$i] -eq "manager_mail")
       $LineArray[$i]=$manager_mail  
      elseif ($FeedHeaderAttribs[$i] -eq "pbusinesscd" )
                $LineArray[$i]=""
            elseif ($FeedHeaderAttribs[$i] -eq "punitcd" )
                $LineArray[$i]=""
            elseif ($FeedHeaderAttribs[$i] -eq "punitdescr" )
                $LineArray[$i]=""
            elseif ($FeedHeaderAttribs[$i] -eq "pbusinessdescr" )
                $LineArray[$i]=""
            else
          $Record=$entry.Item($FeedHeaderAttribs[$i])
          $Record=$Record -replace "`n$",""
          $Record=$Record -replace "`n",""
          $Record=$Record -replace "`r",""
          $Record=$Record -replace "%{1,}","%%"
             $LineArray[$i]=$Record
        for ($j=0;$j -lt $FeedAttrLength;$j++)
         $NameAttr=$FeedHeaderAttribs[$j]
         $NumberAttr=$hash1.Get_Item($NameAttr)
         if ( (($NumberAttr -ne "") -and ($NumberAttr -ne "null")) -or $NumberAttr -eq 0 )
                if ($NameAttr -eq "uid")
                    $l=$j
                    $uid=$LineArray[$NumberAttr]
                    $OutputArr[$j]=""
                elseif ($NameAttr -eq "pguid")
                    $m=$j
                    $guid=$LineArray[$NumberAttr]
                    $OutputArr[$j]=""
                elseif ($NameAttr -eq "ppersontype")
                    $p=$j;
                    $OutputArr[$j]=$LineArray[$NumberAttr]
                else
                    $OutputArr[$j]=$LineArray[$NumberAttr]
         else
                $OutputArr[$j] = ""
        for ($i=0;$i -lt $FeedAttrLength;$i++)
            if($OutputArr[$i] -eq "" -or $OutputArr[$i] -eq "null")
                 $OutputArr[$i]=""
            else
                 $OutputArr[$i] = $OutputArr[$i] -replace "`n"," "
        for ($x=0;$x -lt 3;$x++)
            $ent=""
            if ($x -eq 1)
                $OutputArr[$l]=$uid
            if ($x -eq 2)
                $OutputArr[$m]=$guid
            for ($y=0;$y -lt $FeedAttrLength;$y++)
                if($y -eq $FeedAttrLength -1)
                   $ent=$ent+"`""+$OutputArr[$y]+"`""
                else
                   $ent=$ent+"`""+$OutputArr[$y]+"`""+"|"
            $entryn[$x]=$ent
        #$entryn[0] = $entryn[0] -replace "`r",""
        #$entryn[1] = $entryn[1] -replace "`r",""
        #$entryn[2] = $entryn[2] -replace "`r",""
        if ($OutputArr[$p] -eq "E")
            $entryn[0] | out-file $EmployeeFeedNormal -Append
            $entryn[1] | out-file $EmployeeFeedNormalwithUID -Append
            $entryn[2] | out-file $EmployeeFeedNormalwithUIDandGUID -Append
        elseif ($OutputArr[$p] -eq "C")
            $entryn[0] | out-file $ContractorFeedNormal -Append
            $entryn[1] | out-file $ContractorFeedNormalwithUID -Append
            $entryn[2] | out-file $ContractorFeedNormalwithUIDandGUID -Append
        elseif ($OutputArr[$p] -eq "VC")
            $entryn[0] | out-file $VendorContractorFeedNormal -Append
            $entryn[1] | out-file $VendorContractorFeedNormalwithUID -Append
            $entryn[2] | out-file $VendorContractorFeedNormalwithUIDandGUID -Append
    Message "Total $GlobalCount records were processed"
    Message "Script ActivatedGeneralFeed.ps1 executed successfully"
    Pradeep

  • GRC 10.0 Access Request Creation- Data Source of User Details

    Hi Experts,
    I was doing GRC 10.0 Configuration and found a query which I am not able to resolve.
    While creation of any kind of Access Request in GRC through NWBC> Acces Management Tab>Access Request>Access Request Creation.
    In the user details section, I can see the HR records( like Pernr, position, manager) have been visible to some extent.
    My question is where from these details came in GRC. What configuration we should maintain to achieve these HR records?
    Hope to get a quick response as this is one of the requirement of the implementation which I am doing with my customer.
    Thanks,
    Atanu

    Alessandro,
    Thanks for your response. It helped me to know certain things.
    But when I am navigating to SPRO > GRC > Access Control > Maintain Data Sources Configuration > [User Detail Data Source], it is configured with a ECC system in target connector and User data type is maintained as "SU01".
    Now my question is where from in my case the GRC is pulling the HR records (PA20) like PERNR, POSITION,PERSONEL AREA etc? SU01 does not provide these information. My ECC box is integrated with HR module, so is it taking the data from HR directly?
    Thanks in advance!
    Atanu

Maybe you are looking for

  • Database connection questions

    <p>Hello,</p><p>1) Whenever I use a JDBC connection in my report, viewing that report (outside of preview) always prompts me with a database logon prompt.   How do I get rid of this?</p><p> </p><p>2) I would like to use JNDI for my db datasource at r

  • Triggers in a package

    I need to create a lot of audit triggers. Is it possible to put them all inside a package or a procedure so that they are all together instead of seeing 200 triggers under triggers in TOAD.

  • How to restart VSS writers without rebooting

    Hello fellow teckies. I'm having this problem when backing up with Symantec Backup Exec 11d where it generates errors about not being able to backup VSS sections on the C drive. I've already posted with Symantec.  https://www-secure.symantec.com/conn

  • Remote client, Lazy relationship and Serialization

    hi, I know that all the things mentioned in the subject were discussed here and not once, but forgive me and let me clarify it once again. Suppose my entity A has 1-m (lazy) relationship to another entity B. Is it true that it won't be enough to FETC

  • Heght and Width of a JLabel

    I am trying to create a scaled image so that it fits within a JLabel, however to do this i need to get the height and width of the JLabel, how might i go about doing this. I am using this code where screen is an ImageIcon and the createScreen() metho