Script to find active users with responsibility

Dear all,
r12.0.4 on solaris 10
I need a script to find out the users with all the responsibilities attached to the user ..can anyone share the query if u have ?
Kai

Kai,
Please see (Note: 8576725 - Tom's Handy SQL for the Oracle Applications), 2.3. Users and Responsibilities.
You can also submit the "Active Users" concurrent program.
There are many scripts available in the forum, you can also use them.
Query Responsibilities
Re: Query Responsibilities
Regards,
Hussein

Similar Messages

  • Laptop wont recognize him as an active user with a license only trial

    Hi one of my team members keeps getting a message that his trial will soon expire. We cannot seem to get his laptop to recognize him as an active user with a license.
    Thanks!

    This is for that user, on that computer...
    Does your Cloud subscription properly show on your account page?
    https://www.adobe.com/account.html for subscriptions on your Adobe page
    If yes
    Some general information for a Cloud subscription
    Log out of your Cloud account... Restart your computer... Log in to your paid Cloud account
    -Sign in help http://helpx.adobe.com/x-productkb/policy-pricing/account-password-sign-faq.html
    -http://helpx.adobe.com/creative-cloud/kb/sign-in-out-creative-cloud-desktop-app.html
    -http://helpx.adobe.com/x-productkb/policy-pricing/activation-network-issues.html
    -http://helpx.adobe.com/creative-suite/kb/trial--1-launch.html
    If no
    This is an open forum, not Adobe support... you need Adobe staff to help
    Adobe contact information - http://helpx.adobe.com/contact.html
    -Select your product and what you need help with
    -Click on the blue box "Still need help? Contact us"

  • How to get list of active users with the details like samaccountname, name, department, job tittle, email in active directoy?

    how to get list of active users with the details like samaccountname, name, department, job tittle, email in active directoy?

    You can use third party software True Last Logon 2.9.You can export the file in excel for report creation.You can use the trial version this will achieve what you are looking for.
    True Last Logon displays the following Active Directory information:
    --Users real name and logon name
    --Detailed account status
    --Last Logon Date & Time
    --Last Logon Timestamp (Replicated value)
    --Account Expiry Date & Time
    --Enabled or Disabled Account
    --Locked Accounts
    --Password Expires
    --Password Last Set Date & Time
    --Logon Count
    --Bad Password Count
    --Expiry Date
    --You can also query for any other attribute (Example: Description, telephone Number, custom attibutes etc)
    Refer the below link for trial version:
    http://www.dovestones.com/products/True_Last_Logon.asp
    Best Regards,
    Sandesh Dubey.
    MCSE|MCSA:Messaging|MCTS|MCITP:Enterprise Adminitrator |
    My Blog
    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

  • Unable to find Active Users Concurrent Program in Submit Requests Form

    We applied a patch 9647331 on our development instance (R12.1.1). It completed succesfully. But when we are trying to submit ACTIVE USERS concurrent request, we are unable to find it in the Submit Requests Form.
    However, we are able to submit the Active Users program using CONCSUB.
    Not sure if the patch has done anything.
    Please suggest.
    Regards,
    RA.

    We applied a patch 9647331 on our development instance (R12.1.1). It completed succesfully. But when we are trying to submit ACTIVE USERS concurrent request, we are unable to find it in the Submit Requests Form.From which responsibility?
    Have you verified if the concurrent program is added to the Request Group which is linked to this responsibility?
    Not sure if the patch has done anything. I do not think so. Was the patch applied successfully included all pre-reqs?
    Thanks,
    Hussein

  • Script to find report columns with XXS vulnerabilities

    Hi,
    Report columns with display as "Standard Report Column" are vulnerable to Cross Site Scripting attacks. I have written a simple script to find these report columns and described an easy way to change them all at once. Check: http://wiki.shellprompt.net/bin/view/Apex/XssExamples
    Regards Pete

    Hi Pete,
    good that you bring up that security issue!
    I was talking to Joel during ODTUG about the "Standard Report Column" default the wizard uses and he said that this might be changed in the next version to use the more secure "Display as Text (escape special characters, does not save state)"
    Patrick
    My APEX Blog: http://inside-apex.blogspot.com
    The ApexLib Framework: http://apexlib.sourceforge.net
    The APEX Builder Plugin: http://sourceforge.net/projects/apexplugin/

  • Script to find a user and restart two services

    I am looking to make a script to first find a user that is connected to a server (list) the to stop Spooler, then stop cpsvc. Once the services are stopped, the script would then clear out the folder on "C:\Windows\System32\spool\PRINTERS"
    Directory. Once that was done, the script would then start Spooler and cpsvc. At the end it would echo the services were restarted and to try to print now.
    Lee Mossolle

    A user cannot stop and start services and cannot delete files in the system folders.
    There is no need to look for the services in that way  You will have to do this remotely.  Just find the services if they exisit and stop them then remotely delete the contents of the spooler folder.
    PowerShell remoting would be the easies way to do this.
    strComputer = WScript.Arguments(0)
    WScript.Echo "Running Against Remote Computer Named: " & strComputer
    set objWMI = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
    Set colListOfServices = objWMIService.ExecQuery("Select * from Win32_Service Where Name = 'cpsvc' OR Name = 'spooler'")
    for Each objService in colListOfServices
    objService.StopService()
    objService.StartService()
    Next
    Until you understand how yor code will work avoid over coding.  It just adds confusion and errors.   The above is functionally equivalent to what you posted. 
    I suspect there may be a dependency between cpsvc and spooler.  In that casr yo can only kill them in the correct order.  This will require to loops of a more sophisticated scripting approach.
    We can also use the 'Forse' argument and retriev the master service (spooler) and force it to stop all dependent services.  We would then retrive all services and start them. We can also just retrieve the dependency list and use that.
    The code is simple and will allow the dependencies to be added if needed.
    You can also use PowerShell which is much easier.
    Get-Service spooler -computer remotepc | Stop-Service -force
    Get-Service spooler -computer remotepc | Start-Service
    We can wrap this in a function for convenience.
    ¯\_(ツ)_/¯

  • Find active user exit for a transaction code

    Hi All,
    Please help to find the active user exit for a transaction code.
    for Ex. below is the list of user exits for package VA ( for creation of sales order and changing sales order). Let me know which user exit is active and which is not active.
      Exit name    Short text
      SDTRM001  Reschedule schedule lines without a new ATP check
      V45A0001  Determine alternative materials for product selection
      V45A0002  Predefine sold-to party in sales document
      V45A0003  Collector for customer function modulpool MV45A
      V45A0004  Copy packing proposal
      V45E0001  Update the purchase order from the sales order
      V45E0002  Data transfer in procurement elements (PRreq., assembly)
      V45L0001  SD component supplier processing (customer enhancements)
      V45P0001  SD customer function for cross-company code sales
      V45S0001  Update sales document from configuration
      V45S0003  MRP-relevance for incomplete configuration
      V45S0004  Effectivity type in sales order
      V45W0001  SD Service Management: Forward Contract Data to Item
      V46H0001  SD Customer functions for resource-related billing
      V60F0001  SD Billing plan (customer enhancement) diff. to billing plan
    Thanks & Regards,
    Sabu

    Goto TADIR table give program id as R3TR ,Objec type as CMOD and execute.
    You will get all active exits in system.
    Exits related to SD may be in ZSD package.

  • How to find login user with the largest account

    Hello. I'm looking to put together a bash script that can do two things: (1) determine the shortname of the user with the largest account in /Users and (2) look up their full/long name. I'm going to use this script to help identify who the user on a computer and while I know that's possible that a sometime-user may have a larger account than the normal-user on any given computer, the results of a script should be sufficient in most cases for my needs.
    I'm not sure the best way to around this. I know that I can use "du -m -d1 /Users" as root:
    root on torchwood
    [ ~ ]$ du -m -d1 /Users
    157 /Users/admin
    128 /Users/johndoe
    70890 /Users/dancollins
    21746 /Users/Shared
    92920 /Users
    I know that I can also use "dscacheutil -q user" to get a full list of all users on a system.
    How can I get both the short and long name of the user with the largest account in the /Users folder?

    We're running JAMF Recon for inventory and my supervisor wants to create a report that lists the primary user of the Mac... assuming that the largest user account may be the primary user. In this case, disk space is not the issue, the top admins simply would like to be able to associate names with individual machines. This isn't the most elegant way to do it and it's not fool-proof, but it'll be correct more often than not, which they're satisfied with.
    Can I ask one more question? Using your script, I've started testing with one building and on a number of Mac, the "admin" (shortname) account is turning out to be the largest account. Is there a way to exclude the admin account from consideration?
    Thanks...

  • Find all users with deleagtion

    Hello,
    I am looking for a powershell script that will report ( csv ) on all users with delegation in the O365 environment. Any help would be appreciated.

    Hey
    This can help you:
    http://community.spiceworks.com/topic/449787-exchange-2010-list-delegate-full-access-information-for-all-users
    Regards.

  • [SOLVED] Find all users with a MAILTO option in their crontab

    Anyone know if this is possible? I have a script that lists all scheduled cronjobs but I need to find out which users have email notifications configured.
    If anyone else wants it, here is the script I use to check all user's crontabs. I did not write this.. just found it a while back.
    #!/bin/bash
    # System-wide crontab file and cron job directory. Change these for your system.
    CRONTAB='/etc/crontab'
    CRONDIR='/etc/cron.d'
    # Single tab character. Annoyingly necessary.
    tab=$(echo -en "\t")
    # Given a stream of crontab lines, exclude non-cron job lines, replace
    # whitespace characters with a single space, and remove any spaces from the
    # beginning of each line.
    function clean_cron_lines() {
    while read line ; do
    echo "${line}" |
    egrep --invert-match '^($|\s*#|\s*[[:alnum:]_]+=)' |
    sed --regexp-extended "s/\s+/ /g" |
    sed --regexp-extended "s/^ //"
    done;
    # Given a stream of cleaned crontab lines, echo any that don't include the
    # run-parts command, and for those that do, show each job file in the run-parts
    # directory as if it were scheduled explicitly.
    function lookup_run_parts() {
    while read line ; do
    match=$(echo "${line}" | egrep -o 'run-parts (-{1,2}\S+ )*\S+')
    if [[ -z "${match}" ]] ; then
    echo "${line}"
    else
    cron_fields=$(echo "${line}" | cut -f1-6 -d' ')
    cron_job_dir=$(echo "${match}" | awk '{print $NF}')
    if [[ -d "${cron_job_dir}" ]] ; then
    for cron_job_file in "${cron_job_dir}"/* ; do # */ <not a comment>
    [[ -f "${cron_job_file}" ]] && echo "${cron_fields} ${cron_job_file}"
    done
    fi
    fi
    done;
    # Temporary file for crontab lines.
    temp=$(mktemp) || exit 1
    # Add all of the jobs from the system-wide crontab file.
    cat "${CRONTAB}" | clean_cron_lines | lookup_run_parts >"${temp}"
    # Add all of the jobs from the system-wide cron directory.
    cat "${CRONDIR}"/* | clean_cron_lines >>"${temp}" # */ <not a comment>
    # Add each user's crontab (if it exists). Insert the user's name between the
    # five time fields and the command.
    while read user ; do
    crontab -l -u "${user}" 2>/dev/null |
    clean_cron_lines |
    sed --regexp-extended "s/^((\S+ +){5})(.+)$/\1${user} \3/" >>"${temp}"
    done < <(cut --fields=1 --delimiter=: /etc/passwd)
    # Output the collected crontab lines. Replace the single spaces between the
    # fields with tab characters, sort the lines by hour and minute, insert the
    # header line, and format the results as a table.
    cat "${temp}" |
    sed --regexp-extended "s/^(\S+) +(\S+) +(\S+) +(\S+) +(\S+) +(\S+) +(.*)$/\1\t\2\t\3\t\4\t\5\t\6\t\7/" |
    sort --numeric-sort --field-separator="${tab}" --key=2,1 |
    sed "1i\mi\th\td\tm\tw\tuser\tcommand" |
    column -s"${tab}" -t
    rm --force "${temp}"
    Last edited by thelastknowngod (2011-11-28 22:14:33)

    Perhaps I'm missing something here, but...
    grep -i MAILTO /var/spool/cron/*

  • XPRESS code to find all users with a specific Admin Role

    I've been playing around for a while with a way to get a list of all users that have been assigned a particular Admin Role. I have a role for which I want a specific subset of users to be approvers on it, and I want to greate a Rule that will check for people with a particular Admin Role and then return that list as people to be approvers on the role.
    I haven't been able to find an easy way to write this code. Anyone run across this before or have another suggestion???
    Thanks.

    Below is the code to find user based on condition.
    <set name='adminList'>
    <invoke name='getObjectNames' class='com.waveset.ui.FormUtil'>
    <ref>:display.session</ref>
    <s>User</s>
    <map>
    <s>conditions</s>
    <list>
    <new class='com.waveset.object.AttributeCondition'>
    <s>AdminRoles</s>
    <s>contains</s>
    <s>adminRoleName</s>
    </new>
    </list>
    </map>
    </invoke>
    </set>
    Edited by: Jay on Mar 7, 2012 4:03 AM

  • Powershell can't find AD-user with simple single commandline

    I have multiple users called Anna, but when I use the following powershell command line only 2 out of three shows up in the ps-prompt.
    Get-ADUser -filter {givenName -eq "anna"} I also tried
    Get-ADUser -filter {givenName -like "anna"} still only gives me two out of three users called Anna.
    I  don't get any errors, and it gives user info from the other two called Anna. I have checked that the last one also exists and isn't disablet.
    What is wrong here?
    I run PowerShell from my own Win 7 32bit Workstation in an elevated prompt I have enabled ps-remoting and Winrm and also ran the Wsman command so I can remote enable to a server og pc via powershell. I have also created a local ps profile
    that always import the Activedirectory module.

    You're right, she was created with her firstname and middlename in AD where you type in the firstname.
    But when I used your suggestion and added a * after her firstname she popped up. :)
    This is what I wrote: 
    Get-ADUser -filter {samaccountname -like "anna *"} | FL SamAccountName, SurName, GivenName
    The * after her firstname gave me the results I wanted. Thanks for the help.
    Simon

  • How to Find out Users with Hardware Phones

    Hi,
    Is there anyway that i can create a report that which Users are using IP Phones (Physical) and which users are using soft Phone (Lync Client on PC).
    Regards
    Usman Ghani
    Usman Ghani - MCITP Exchange 2010

    Hello Usman,
    If you have a monitoring server, you can see the Physical Phones.
    Access your monitorin server by:
    http://<ip_monitoring>/Reports or
    http://<ip_monitoring>/Reports_<Instance_Name>
    LyncServerReports > Reports Home Page and then click IP Phone Inventory Report and you will see all the physicals phone.
    If you don't have a monitoring server, access this...
    http://www.mcse.eti.br/Installing-and-Configuring-Monitoring-Server.html
    “Vote As Helpful” and/or “Mark As Answered” - Thiago Mendes da Silva - MCSE Communication - ITIL v3 Foundation - http://www.mcse.eti.br

  • AD accounts find users with all capital letters

    Hello ,
    I am a noob , am searching online but can't find exactly what i need.
    So am posting here in hope some one will help me. :)
    I what to make a short powershell script that finds all users with capital letters from the second letter on.
    Example
    first name = Bob last name =Red    corect
    first name = BOB last name =RED  wrong
    i want to extract all the wrong names with capital letters in text file
    So my question is that possible and how can i do it in server 2008 r2.
    Thanks in Advance for any answers

    This is obviously not an Exchange question, but a PowerShell question.  You should probably post it in the scripting forums for completeness.
    That being said, you can try using -cmatch against a regex.  I used  -cmatch '[A-Za-z]+[A-Z]+' to test a name with later capital letters, and it appeared to work.
    [PS] C:\Scripts> "Willard" -cmatch '[A-Za-z]+[A-Z]+'
    False
    [PS] C:\Scripts> "WILLARD" -cmatch '[A-Za-z]+[A-Z]+'
    True
    [PS] C:\Scripts> "WillARD" -cmatch '[A-Za-z]+[A-Z]+'
    True
    [PS] C:\Scripts> "WillarD" -cmatch '[A-Za-z]+[A-Z]+'
    True
    [PS] C:\Scripts> "WiLlArD" -cmatch '[A-Za-z]+[A-Z]+'
    True
    So for your test, and using the Exchange commands (you can change them to the Windows 2008 AD commands), you'd run:
    Get-User | ? { $_.DisplayName -cmatch '[A-Za-z]+[A-Z]+' }

  • Capturing Users with running sql in shell script after every 10min

    Hi All,
    we have a strange prob. of database crash, therefore decided to check what users do when OS/DB crashes,
    i need your input in RUNNING/SCHEDULING such a script which gathers all active users with running SQL and append in a logfile so that we are aware of what happened when DB/OS Crashed.
    i can run this run a query from V$SESSION,V$SQL, and V$PROCESS but i need your input writing such a SHELL Script and scheduling can run by CRON.
    Regards.

    Here ya go.
    (Assuming you want a script to run against one sid)
    script:
    #!/bin/ksh
    # Set environment
    . $HOME/.profile
    export ORACLE_SID=your sid
    sqlplus <<! > /some_report_file
    / as sysdba
    sql you want to execute here*
    exit
    cron entry:
    0,5,10,15,20,25,30,35,40,45,50,55 * * * * /your/script/name/here > /dev/null 2>&1

Maybe you are looking for

  • How do I install a brother printer MFCJ870DW on my Yosemite 10.10 version?

    Cannot install the driver for new Brother Printer MFCJ870DW on my MacAir Book.  I have version OS X Yosemite version 10.10. Can someone help please?

  • Generic Heterogeneous Services

    I’m trying to implement Heterogeneous Services using the generic ODBC driver supplied with Oracle 8.1.7. I am attempting to connect to a ForPro database running on a NT server from Solaris 5.7 running Oracle 8.1.7. Up to this point I have not been ab

  • Deisgn - Objects stop moving with arrow keys until a relaunch

    In design mode, CR 2008, line objects and other design objects stop moving with the arrow keys and won't move more than one position until I either click on the object again and move it one position or I exit CR and relaunch that report. If I move a

  • How to enable the iscsi in Solaris 10

    Dear All, Kindly help me,How to enable the iscsi in solaris 10,That box already running in solaris 9,Now we installed solaris 10,In that solaris box separate iscsi card in there,How to enable the iscsi card to access the NAS storage. Kindly sent any

  • Needing AdjTrans field in OJDT to get ticked when doing a JE import via DTW

    Hi I am importing Journal Entries and am needing to have the Field AdjTrans = Adj Trans (Period 13) ticked, when going through the DIAPI Reference help this field is not listed as well as not being listed in the DTW Template, I have added this to the