Query to retrieve list of users who do not have a resource provisioned

I am trying to get a list of user who do not have a particular resource provisioned. I cannot seem to find a table that links the resource object information and User information. I need to generate a CSV file. Has anyone done this before or have any ideas. If so any information would be very helpful.
Thanks

select * from usr where usr.usr_key not in (
select usr.usr_key from oiu, usr, obi, obj, ost
where oiu.usr_key=usr.usr_key
and oiu.obi_key=obi.obi_key
and obi.obj_key=obj.obj_key
and obj.obj_name = :obj_name
and oiu.ost_key=ost.ost_key
and ost.ost_status not in ('Revoked'))
-Kevin

Similar Messages

  • List of users who do not have USER GROUP.

    Hi friends,
    I want to find out the list of users who do not have USER GROUP.
    Can any one please let me know how to find out.
    Thanks,
    Ankitha

    Hi,
    use the transaction "suim" or the abap report "RSUSR002"
    -> user information system
    open tree -> user -> users by compley.... -> exec. users by complex...
    next screen -> Group for authorization -> select multiple selection (right symb.) -> in the tab 'single vals' -> click on the left symb. -> select '='
    leave the fields blank. -> 'F8' or ok. -> then in the main screen 'F8' or run.
    so you will get all users without a group asignment
    I hope it was helpfully.
    best regards
    Cahit

  • How to list those employees who do not have a certain pay rate type set up

    Hi,
    I'm trying to create a report that lists all employees who DO NOT have a certain pay rate role type set up.  An employee can have multiple pay rate roles - for example: chargeable miles, non-chargeable miles, subsistence, etc.
    I want to identify all those employees who do not have, say, subsistence yet set up.
    I joined the employee table to the employee rates table. The employee_role_id=20 is the particular rate role value that I am interested in. I want to only list those employees who do not have rate of role type 20 set up. That way I can go and set one up for these employees.  At present, I am using selection criteria where employee_role_id=20. This brings back only those employees that have an employee_role_id of 20 setup. I would like to do the inverse but setting <>20 only screens out those roles with value 20 and displays all of the rest of the pay role values for each employee.
    Any help is appreciated.
    thx!
    Mark

    if you are not sure about the linking i suggest to just show all roles associated to all the employees,
    group by employee
    create true/false formula for the role_ids  where ONLY your 20 role is TRUE per employee
    then exclude all false - that should give you only the employees that are missing that particular role.

  • Obtain a primary token for a user who does not have permission to logon locally

    I would like to know whether it's possible to obtain a primary token for a user who doesn't have permission to log on locally. If yes, what the recommended way is for doing that.
    I called LogonUserW with logon32_logon_network logontype for user which is not allowed to logon locally. It returned impersonation token. I called DuplicateTokenEx to create primary token but it still returned impersonation token.

    A Network Logon is always going to return an impersonation token.  This is by design. 
    A Batch or Service logon would return a Primary Token.  The user would need the corresponding right to return these 2 types of token.  Typically, all users are allowed to generate a Network Token (Impersonation Token) but as you have discovered
    it has limited usage which is by design.
    thanks
    Frank K [MSFT]
    Follow us on Twitter, www.twitter.com/WindowsSDK

  • Find all users who does not have access to a shared mailbox.

    Hi all,
    We are in the proces of setting up a hybrid enviroment with our E2010 towards Office365. As part of that, we want to move several batches of users. The first bunch if users we move should not use any shared mailboxes etc. but how do I find
    those? I can see there are powershell scripts that find users who has a shared mailbox and then list the permission - but that is kind of the opposite than what I want :)
    Browsing manually through users is not practical either as we have 10000+ mailboxes at the moment.
    Hoping for a quick reply :)
    /Trev

    It is not possible to accomplish this by using powershell. Easier one is to get the list of people who has access on something with below and do easier data manipulation in Excel :
    Get-Mailbox -Resultsize Unlimited | Get-MailboxPermission | ?{$_.isinherited -eq $False -and $_.user -notlike "*self*"} | select identity, user,accessrights
    [url=http://www.lepide.com/]Lepide[/url]

  • I received a text from another iPhone user who does not have an iPad, why did I receive the text on my iPad rather than my iPhone?

    I have both the iPhone and New iPad and I was under the impression when sending a text it went from iPhone to iPhone or iPad to iPad.  Also, if I send a text from my iPad to someone who only has the iPhone, it comes in on their iPhone.  However, I received a text from an individual who only has an iPhone and it came to my iPad and never showed up on my phone...Which means had I not been at home I would not have known I had a text on my iPad????  How does it determine which device it will appear on?

    You are probably right - I don't have my iPad with me and was confusing myself.  But on the iPad it is receive at email addresses only.
    Sending to the phone number will mean ONLY your iPhone gets the message.  If you want it to go to ALL devices, then you should have them send to the email address associated with the AppleID you used to set up iMessage originally.  Also set that email address up as your caller id on the iPhone so as you send out messages, people will reply to that and both your devices should get them.
    Although Apple's notes indicate you should be able to do it - http://support.apple.com/kb/TS2755
    what if you just type in a 10-digit phone number on the iPad instead of an email?
    (I originally did all this with iOS 5.0, and I know then the number did not work on an iPad, but maybe with iOS 5 updates, it does now?)

  • Can I Share a document with a user who does not have righs to the site? (SharePoint 2013 on prem)

    Joe is in Sales
    He must Share a document with Jane in Marketing.
    He only wants to Share this one document.
    Does he need to go into the Sales site and add Jane as a site user? Jane will then be able to see everything on the site. No good.
    Does Joe now need to break inheritance on all the other site libraries from Jane to hide them??
    In a perfect world, Joe shares the doc with Jane. Jane gets email with link. Jane clicks link and goes to sale site where all she sees is the document that was Shared- nothing else.
    Cheers, Jim ___________________________________________________ If this was helpful please mark as an answer.

    With 2013, you can just Share the specific item. It will automatically break inheritance on that item and allow Jane to see that one document only and Jane will get a link inviting her to the document.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Query to find out the list of user who have delete access

    Hi,
    I need a query to find out the list of users who have delete access on perticular folder/universe/ reports  in infoview.
    Please advice.
    Regards,
    Neo.

    orton607 wrote:
    thanks for replying guys. But the thing is i am using dynamic sql execute immediate in my package, so i want those tables also and the schema name.
    thanks,
    ortonThis is not possible. The best you could do is to have a good guess.
    Or how would you parse some dynamic statement as this:
       v_suffix := 'loyees';
       v_sql := 'Select count(*) from (select ''nonsense'' col1 from emp'||v_suffix||') where col1 = ''Y'''';
       execute_immediate(v_sql);
    ...What is the table name? How do you want to parse that?
    Better rewrite all dynamic SQL statements into non dynamic ones. Or do the source control logic for those dynamic parts in an extra module. For example implement your own dependency table and force every developer to add there all dynamic parts.

  • How to get a list of Local Users who has not logged in for 3 months or around 90 days

    hi
    i found this thread to pull out a list of local users
    Retrieve all local user accounts information on remote computers (PowerShell)
    however, i need to filter out users who has not logged in for 3 months or around 90 days, how can i do further filtering?
    i understand dsquery has an -inactive <xweeks> , however i am doing it for local accounts

    $ErrorActionPreference = "silentlycontinue"
    $([ADSI]"WinNT://$env:COMPUTERNAME").Children | where {$_.SchemaClassName -eq 'user' -and $_.lastLogin -gt (Get-Date).AddDays(-90)} | ft name,lastlogin
    using the sample from the link extendend with the 90 days criteria, the erroraction preference surpresses the errors you get for accounts with no lastlogon value (guest being a typical one)

  • List of users who has access to current community

    Hi,
    Is there an API which provides list of users who have access to current community in ALUI? Will there be huge performance impact in retrieving the list of all users who have access to current communty?
    Thanks
    Sampath

    Sorry,
    I am not quite following you..
    Users can only view a community if the permissions exist for that specific community. I dont understand what do you meant by
    "I need to let user type a name and show his/her user ID from the list of users who have access to the current community".
    Are you trying to look at user permissions based on a list of communities existing in the portal? The user can't even get to that community if he doesn't have permissions.

  • Generate a list of users who has admins rights in BO XI.

    Post Author: bstn82
    CA Forum: Administration
    Any one has an idea how to produce a list of users who has admins rights?

    Post Author: TAZ
    CA Forum: Administration
    launch query builder from the admin launchpad
    enter this query
    select * from ci_systemobjects where si_parentid=19
    this will give you a list of all the members of the administrators group.
    You can experiment with query builder and possibly ask for help in the DEV forum if you need to write a more complex query.
    Regards,
    Tim

  • How can I find out the list of users who has the access to IT 0008

    All,
    How can I find out the list of users who has the W R permission for IT 008
    for others?
    SUIM doe not look like giving me the correct results.
    Please advise.
    Thanks,
    From
    PT.

    combine tables AGR_1251 and table AGR_Users on keyfield AGR_USERS
    in tabel AGR_1251 select on Field LOW values IT0008.OR W OR R,
    noiw you get also other values
    So better solution run the query twice over AGR1251 first on IT0008 and secondly on values W OR R and then the result over table AGR_USERS
    Youu also might put an additional selection on object P* (only selecting HR objects)
    output wll be UID in table AGR_USERS

  • List of users who were granted particular function in oracle apps R12 db?

    Hi
    I need to list all users who were granted particular function (suppliers) from oracle apps R12 database. User -->Resp -->Menu --> Submenu/function. I have two queries like the following
    --Below sql query give all users those
    having Purchasing and Payables application access.
    SELECT UNIQUE u.user_id, SUBSTR (u.user_name, 1, 30) user_name,
    SUBSTR (r.responsibility_name, 1, 60) responsiblity,
    SUBSTR (a.application_name, 1, 50) application
    FROM fnd_user u,
    fnd_user_resp_groups g,
    fnd_application_tl a,
    fnd_responsibility_tl r
    WHERE g.user_id(+) = u.user_id
    AND g.responsibility_application_id = a.application_id
    AND a.application_id = r.application_id
    AND g.responsibility_id = r.responsibility_id
    AND a.application_name in ('Puchasing','Payables')
    ORDER BY SUBSTR (user_name, 1, 30),
    SUBSTR (a.application_name, 1, 50),
    SUBSTR (r.responsibility_name, 1, 60);
    --Below sql  query gives function name.
    SELECT function_id, user_function_name, creation_date, description
    FROM applsys.fnd_form_functions_tl where function_id=1348;
    What other tables to join to get all users having this function (suppliers) granted?
    Regards

    You cannot move a post to another forum.
    You can repost your entire text as another post in the other forum.
    You can then mark this thread as "answered" -- just to close it.
    Hemant K Chitale
    Edited by: Hemant K Chitale on Jan 16, 2011 5:11 PM

  • How to find out list of users who have access to particulat SID

    HI
    How to find out the list of users who has access, to a particular SID?
    Satish.

    jurjen,
    Thanks for replying, actually i was trying to navigate and execute the report using, SUIM...
    could you help me to find out the list of users who has access to a particular system.. using SUIM.
    satish.

  • How to list of Users who are using Crystal XI application?

    Hi all,
    Thanks for your support provided so far.
    I need to get the list of users who are all using the Crystal XI application. I tried to get this info from the Business Objects Enterprise Applications in CMC but it was not there. Where can I find this information?
    kindly help me.
    Thanks,
    Bhuvan R

    There is not such a portlet available out of the box...
    Have you looked at the code share section?
    If you want to develop yourself, I don't think this is achievable using the IDK (remote interface)
    But It is definitely possible to create such a portlet using the server API (drawback: the portlet has to live where a portal component is installed - WS, automation or Portal)

Maybe you are looking for

  • V I Engineering, Inc has immediate needs for Systems Engineers (Contract) and Senior Systems Engineers (Contract) (reporting to the Test Software and Integration Group Manager)

    Company: V I Engineering, Inc. Locations: Various - USA Salary/Wage: $negotiable Status: Hourly Contractor Relevant Work Experience: 5+ years system integration (LabVIEW/TestStand experience required) Career Level: Intermediate/Experienced Education

  • Path in non-login shells

    I just installed using the 0.7-beta cd.  When running X i noticed that my path for non-login shells only includes :/bin:/usr/bin:/usr/X11R6/bin:/usr/ucb This really confuses me :? EDIT: nevermind, it seems to be fixed now.  Logging out hadnt fixed an

  • Crpyt in java

    Hi all, I downloaded the crypt document from the below link http://www.dynamic.net.au/christos/crypt/ When i compiled i got the following error message Note: UnixCrypt.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation f

  • Label component doesn't show required icon

    I have some JSP like this: <ui:label for="uiMiddleInitial" text="Middle Initial"/> <ui:textField binding="#{SomeForm.uiMiddleInitial}" columns="2" id="uiMiddleInitial" tabIndex="2" required="true"/> When the page renders the first time, the label is

  • Reader 8.1.3 installer does not start on Windows 2003 x64

    Hello, i use Windows Server 2003 SP2 as 64 Bit edition on AMD and have installed Reader 8.1.2 successfully. Now i tried to install 8.1.3, which is the most recent of the 8th series i found, and fail because the installer simply does nothing! It start