How to identify which role user is associated with?

Oracle 11.0.1.7:
How do I identify which role a user is associated with?
Also how do I identify the privilges for a given role. For eg if SELECT, INSERT, DELETE was granted for a table to a role which dictionary table do I look at?
I looked at USER_TAB_PRIVS.

Check this:
http://www.adp-gmbh.ch/ora/misc/recursively_list_privilege.html
HTH
-Anantha

Similar Messages

  • How to determine which site collection is associated with which db?

    I have a site collection that contains a number of other site collections. I've created a content DB in a new SQL instance, and, within another site collection, specified that DB is associated with a new site collection, eg:
    New-SPContentDatabase "sitecollection9_content" -DatabaseServer "spsqlserver\newinstance" -WebApplication
    http://spintranet
    New-SPSite -url http://intranet/sites/sitecollection9 -ownerAlias "domain\user123" -contentdatabase "sitecollection9_content" -template "STS#1" -Name "sitecollection9"
    I wish to confirm that sitecollection9 is using only newinstance\sitecollection9_content.
    How can I do so?
    Thanks!
    Scott

    Site collection within site collection doesn't exist. you may have different site collection on a WebApplication.
    you can check what is the Database associated with a site collection through powershell
    $site = get-spsite <URL of your site collection>
    $site.ContentDatabase

  • How do you change your user name associated with the app store on the iphone 3G. When attempting to update, it is using an old email address that has since been changed at the apple site. The problem is that my phone does not seem to recognize this.

    I have exausted my ideas, and turn to the forum, prior to paying for something that may be a 2second simple fix. Please help if you can. Let me know if you need more info to understand my dilema.
    Thanks.

    Apps are permanently tied to the Apple ID used to purchase them.  You will always be asked for the password associated with this ID when updating apps, regardless of whether or not you are using this ID for current purchases.  The only way to stop this is to delete the old apps from your phone and iTunes and repurchase them with your current ID.
    Edit: to change the ID used for future purchases on your phone, go to Settings>Store>Apple ID, tap the ID shown, sign out, sign back in using the new ID.  As explained above, you will still be prompted with the old ID when updating apps purchase with the older ID.
    Message was edited by: randers4

  • How to identify which application users are connected to in an rdp session

    so we have an rdp gateway with couple of servers acting as brokers. users connect to the RD web access site and see a list of applications. usually these applications are the same but with different parameters like (done through the RemoteApp manager)
    app1: C:\Program Files\app.exe arg: C:\appdata\group1\file
    app2: C:\Program Files\app.exe arg: C:\appdata\group2\file
    i'm trying to find a way to tell which app the users are connecting to at a point with no luck, any help will be appreciated
    Noor

    Hi Noor,
    Thank you for posting in Windows Server Forum.
    From your description I can understand that you want the user name with app they have in their session.
    You can achieve with below command.
    Query process User name
    Displays information about processes running on a terminal server. You can use this command to find out which programs a specific user is running, and also which users are running a specific program.
    More information:
    Query process
    http://technet.microsoft.com/en-us/library/bb490798.aspx
    Hope it helps!
    Thanks.
    Dharmesh Solanki

  • How to get all AD User accounts, associated with any application/MSA/Batch Job running in a Local or Remote machine using Script (PowerShell)

    Dear Scripting Guys,
    I am working in an AD migration project (Migration from old legacy AD domains to single AD domain) and in the transition phase. Our infrastructure contains lots
    of Users, Servers and Workstations. Authentication is being done through AD only. Many UNIX and LINUX based box are being authenticated through AD bridge to AD. 
    We have lot of applications in our environment. Many applications are configured to use Managed Service Accounts. Many Workstations and servers are running batch
    jobs with AD user credentials. Many applications are using AD user accounts to carry out their processes. 
    We need to find out all those AD Users, which are configured as MSA, Which are configured for batch jobs and which are being used for different applications on
    our network (Need to find out for every machine on network).
    These identified AD Users will be migrated to the new Domain with top priority. I get stuck with this requirement and your support will be deeply appreciated.
    I hope a well designed PS script can achieve this. 
    Thanks in advance...
    Thanks & Regards Bedanta S Mishra

    Hey Satyajit,
    Thank you for your valuable reply. It is really a great notion to enable account logon audit and collect those events for the analysis. But you know it is also a tedious job when thousand of Users come in to picture. You can imagine how complex it will be
    for this analysis, where more than 200000 users getting logged in through AD. It is the fact that when a batch / MS or an application uses a Domain Users credential with successful process, automatically a successful logon event will be triggered in associated
    DC. But there are also too many users which are not part of these accounts like MSA/Batch jobs or not linked to any application. In that case we have to get through unwanted events. 
    Recently jrv, provided me a beautiful script to find out all MSA from a machine or from a list of machines in an AD environment. (Covers MSA part.)
    $Report= 'Audit_Report.html'
    $Computers= Get-ADComputer -Filter 'Enabled -eq $True' | Select -Expand Name
    $head=@'
    <title>Non-Standard Service Accounts</title>
    <style>
    BODY{background-color :#FFFFF}
    TABLE{Border-width:thin;border-style: solid;border-color:Black;border-collapse: collapse;}
    TH{border-width: 1px;padding: 2px;border-style: solid;border-color: black;background-color: ThreeDShadow}
    TD{border-width: 1px;padding: 2px;border-style: solid;border-color: black;background-color: Transparent}
    </style>
    $sections=@()
    foreach($computer in $Computers){
    $sections+=Get-WmiObject -ComputerName $Computer -class Win32_Service -ErrorAction SilentlyContinue |
    Select-Object -Property StartName,Name,DisplayName |
    ConvertTo-Html -PreContent "<H2>Non-Standard Service Accounts on '$Computer'</H2>" -Fragment
    $body=$sections | out-string
    ConvertTo-Html -Body $body -Head $head | Out-File $report
    Invoke-Item $report
    A script can be designed to get all scheduled back ground batch jobs in a machine, from which the author / the Owner of that scheduled job can be extracted. like below one...
    Function Get-ScheduledTasks
    Param
    [Alias("Computer","ComputerName")]
    [Parameter(Position=1,ValuefromPipeline=$true,ValuefromPipelineByPropertyName=$true)]
    [string[]]$Name = $env:COMPUTERNAME
    [switch]$RootOnly = $false
    Begin
    $tasks = @()
    $schedule = New-Object -ComObject "Schedule.Service"
    Process
    Function Get-Tasks
    Param($path)
    $out = @()
    $schedule.GetFolder($path).GetTasks(0) | % {
    $xml = [xml]$_.xml
    $out += New-Object psobject -Property @{
    "ComputerName" = $Computer
    "Name" = $_.Name
    "Path" = $_.Path
    "LastRunTime" = $_.LastRunTime
    "NextRunTime" = $_.NextRunTime
    "Actions" = ($xml.Task.Actions.Exec | % { "$($_.Command) $($_.Arguments)" }) -join "`n"
    "Triggers" = $(If($xml.task.triggers){ForEach($task in ($xml.task.triggers | gm | Where{$_.membertype -eq "Property"})){$xml.task.triggers.$($task.name)}})
    "Enabled" = $xml.task.settings.enabled
    "Author" = $xml.task.principals.Principal.UserID
    "Description" = $xml.task.registrationInfo.Description
    "LastTaskResult" = $_.LastTaskResult
    "RunAs" = $xml.task.principals.principal.userid
    If(!$RootOnly)
    $schedule.GetFolder($path).GetFolders(0) | % {
    $out += get-Tasks($_.Path)
    $out
    ForEach($Computer in $Name)
    If(Test-Connection $computer -count 1 -quiet)
    $schedule.connect($Computer)
    $tasks += Get-Tasks "\"
    Else
    Write-Error "Cannot connect to $Computer. Please check it's network connectivity."
    Break
    $tasks
    End
    [System.Runtime.Interopservices.Marshal]::ReleaseComObject($schedule) | Out-Null
    Remove-Variable schedule
    Get-ScheduledTasks -RootOnly | Format-Table -Wrap -Autosize -Property RunAs,ComputerName,Actions
    So I think, can a PS script be designed to get the report of all running applications which use domain accounts for their authentication to carry out their process. So from that result we can filter out the AD accounts being used for those
    applications. After that these three individual modules can be compacted in to a single script to provide the desired output as per the requirement in a single report.
    Thanks & Regards Bedanta S Mishra

  • How can I change the user ID associated with a Unix numerical ID?

    I acquired a used MacMini.  I changed the home directory name and display name but when I use ls -l (in Terminal) I still see the former owner's Unix name.  Is there some way to edit the MacOSX equivalent of the old /etc/passwd so that the numerical used ID maps to my name?  I found a reference to OpenLDAP and Directory Services but nothing too helpful.
    TIA

    This may not be the last thing you have to do, but....
    System Preferences -> Users & Groups (or if an older system "Accounts").
    Click on the Padlock in the lower left corner, enter you admin password.
    Control-Click on the desired account
    Select "Advanced Options..." from the popup
    Pay close attention to the warnings, as you can totally screw up your Mac.  In fact, do you have a full bootable clone backup (SuperDuper or Carbon Copy Cloner)?  If not, stop now and go make one.
    Change the Account name field.
    Change the Home Directory field to match your new home directory.
    DO NOT MESS with UUID, and I would strongly suggest not changing your User ID, as all your files are currently owned by that User ID, and it is a pain to find and change the ownership of all your files.
    I suggest you logout and login.  Then if things do not look right, reboot.  If you have cron jobs, chances are they will be tighed to the old name, and a who bunch of other things might have stuff tied to the old name, so this is one of those things that may go wrong after you change your username.
    Again, this may not be the only thing you need to change.

  • How to identify which record(s) the user hasbeen checked

    i have a internal table in which first field is represented as check box in the output .
    like bellow
      loop at g_it_final into g_wa_final.
            write : 5 sy-tabix ,
                   20 g_wa_final-g_v_check as checkbox,
                   25 g_wa_final-TRKORR,
                   40 g_wa_final-AS4TEXT.
      endloop.
    now the user will select some records from the output checking the check box
    NOW the QUESTION is
    how to identify which record(s) the user hasbeen checked(selected) ?
    so that i can disply only the selected records in the secondary list.

    Hi,
    You will have to use the 'READ LINE' command within a loop to retrieve the data back into your program.
    You may want to use the HIDE command to ease the retrieval of the checkbox value.
    Check out the online help for both of these.
    Darren

  • How do i find which Apple ID is associated with music in my iTunes? When I sync with my iPad and iPhone it tells me I have music, apps etc from more than five IDs. I am asked for PW for a number of now extinct accounts.

    how do i find which Apple ID is associated with music in my iTunes? When I sync with my iPad and iPhone it tells me I have music, apps etc from more than five IDs. I am asked for PW for a number of now extinct accounts.

    Go to Settings/icloud. The Apple ID at the top of the screen is the only one you need to be concerned about. That one MUST be a working ID, and you must know the password for it, or you will be unable to use the phone if it ever crashes, you want to update it, or you want to sell it.

  • How to identify which is rootsite/webapplication url and which are site collection url ?

    How to identify which is rootsite/webapplication url and which are site collection url underneath of web application using powershell script in following code?
    # Get site objects
    $webapplication = Get-SPWebApplication $siteUrl
    # Walk through each site in the site collection
    foreach($site in $webapplication.Sites)
    foreach($subWeb in $site.AllWebs)
    $_ = AddLevel123($subWeb.Url)

    Hi,
    Hope you wanted to know which API is Site collection (SPSite) and Sub site(SPWeb) 
    $webapplication.Sites = Site Collection (SPSite)
    and $site.AllWebs = Subsite (SPWeb)
    and see these links - to get webApplication URL
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/e223b607-ab35-454a-a050-1db3005687e5/spwebapplication-url?forum=sharepointdevelopmentlegacy
    SPSite Url - SPSite.Url (http://msdn.microsoft.com/en-us/library/office/microsoft.sharepoint.spsite.url.aspx)
    SPweb URl - SPWeb.URL (http://msdn.microsoft.com/en-us/library/office/microsoft.sharepoint.spweb.url.aspx)
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/b4dfb645-69f4-4abd-947c-64ca42af3a26/script-to-get-list-of-sites-and-subsites
    Hope this helps!
    MCITP: SharePoint 2010 Administrator
    MCTS - MOSS 2007 Configuring, .NET 2.0
    | SharePoint Architect | Evangelist |
    http://www.sharepointdeveloper.in/
    http://ramakrishnaraja.blogspot.com/

  • How to identify which videos

    I took a dozen or so short clips of an event. I know which three I want to combine and edit. But I can't figure out how to identify which they are in imovie in order to put those clips in my project. It shows them all as consecutive clips or frames, without file numbers or names.

    I'll try to explain better.
    A dozen clips or videos, 1 min to 5 min in length. In one case all along a mountain road.
    I want to produce a 5 min project or video with the best parts of 3 of those 12.
    All 12 have thumbnails almost identical (the dashboard across the bottom, roof line at the top)
    I only want to start editing the 3, not put all 12 in.
    How do I identify those 3?

  • How to identify Which function modules are used in the planning area?

    Hi all,
    there are couple of function module derviation is used to derive the calendar year, month, fiscal period etc.
    But how to identify which function module is used in which planning area?
    I cant find out from the where used list from function modules?
    Thanks
    pooja

    Hi Pooja,
    Go to characteristic relationship tab,click on detail icon on extreme left of the derivation,there you will get the name and the details of function module used for derivation.
    Regards,
    Indu

  • How to identify Which ports are using in RAC setup?

    Hi,
    how to identify Which ports are using in RAC setup?
    Thnaks,

    [Viewing Port Numbers and Access URLS|http://download.oracle.com/docs/cd/B19306_01/install.102/b14205/ports.htm#sthref1208]

  • How to identify which DC to modify?

    I need to change the iView u201CChange Own Datau201D in ESS.
    ESS -> Employee search -> Change Own Data
    How to identify which DCs to modify in development configuration?
    Greatly appreciated for any comment/suggestion!

    Hi,
           The purpose of each DC is modifying different Iviews (Ex:you need to modify Change Own data like that some other needs to change some other Iview may be this Iview will be present in another DC).
    based on our requirement we need to modify different different DCs.
    yes you need to modify in the DC as i mentioned..
    Regards,
    Anil.

  • How to identify which key figure will the numeric pointer for deltas?

    Hi All,
    I have created a numeric pointer for generic extraction ? but how to identify which key figure will the numeric pointer will use for deltas ?
    how to identify the key figures which is suitable for numeric pointer. And the generic extraction is based upon the copa table?
    Can anyone suggest me how the numeric pointer works and how to identify deltas are carried out at numeric pointer?
    Thanks
    Pooja

    Pooja,
    If you are using a generic extractor which is based on COPA table, then numeric pointer may not be the suggested delta extraction mechanism. 
    A time stamp would be the better one to use.  In a time stamp, you can give a lower limit value of 300 seconds.. so that it will try to fetch the missed records.
    Moreover, a delta would be based on a character, preferably a time char.
    In your requirement, try to figure out the character on whichdeltas will be based.
    Sasi

  • How to identify which Internal order type is relevant for Budget manager

    Hi,
        How to identify which Internal order type is relevant for Budgeting i.e Budget Manager.
    regards,
    Rajesh

    controlling-internal orders-budegeting and availability control -define tolerance limits for availabilty control
       in which it is defined whether mail be sent to budget manager against the budget profile(budget profile is assigned to order type).
    controlling-internal orders-budegeting and availability control -define tolerance limits for availabilty control-maintain budget manager
    here budget manager is assigned to  order type
    assign me points if it is useful

Maybe you are looking for

  • Adobe reader 9.3.3 : can't read the full trust chain of GlobalSign certificate

    Customer's can't see properly their PDF bills certificated with a CDS compliant GlobalSign certificate. The full trust chain can't be read in the document. Information of what can see several customers opening their bills In the certificate dialog bo

  • Searching in spotlight

    Are keywords in iphoto 08 searchable in spotlight.. or only when using iphoto (like iphoto 06)? Is metadata from adding keywords applied to the file itself so that it would be searchable if exported from iphoto? Can iphoto 08 import keywords from oth

  • Lightroom starts every time i put in a memory card.

    Lightroom starts every time i put in a memory card or a USB stick with photos. Is it possible to turn off this feature? I want to determine if the program should start.

  • Selection Tool Properties

    Hi, I've got a problem in Illustrator CS5 on my Mac. When I want to rotate or scale an object with the Selection Tool by holding shift the object does not rotate in 45º-90º steps and also does not scale proportional. I tried to figure it out but I ca

  • How about a little taste of whats happening to  Speedgrade ..

    Be great to see a litle more information drip fed out to us on progress with Adobe Speedgrade. Adobe was awesome how they predicated CS5. Speedgrade has been a single tantalising glimpse and then nada...zip!