Find all user roles

Hi guys. I have an easy question but i cant find it in the internet. Which view can show me what roles have been asigned to user?

Junior Oracle DBA wrote:
Hi guys. I have an easy question but i cant find it in the internet. Try the official Oracle documentation at tahiti.oracle.com. Drill down to your specific product and version and you will find a complete doc libarary. I'd bet on the Reference Manual. Also, there will be search tool.
Which view can show me what roles have been asigned to user?Someone else has alread given you that fish. Hopefully I've given you a clue as to <b>how</b> to fish ... ;-)

Similar Messages

  • 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

  • [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/*

  • Find all users who have delegated items to me.

    i need a rule / something, by which i can find all the active delegations assigned to me on my end user screens.
    It may be from my manager , or from any other user.
    I checked the user object and noticed that only the person who delegates has the information stored, and nothing in my user object.
    Any recommendations would be aapreciated.

    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 need a SQL to find all users within OID

    Hi,
    I'm trying to find all usernames and last logon in OID and was thinking of two ways to do this.
    1. query OID with ldapsearch
    2. query LDAP schema in Oracle database.
    Any ideas on how to do this and what is the best way. If a sql in the database could solve this it would really be the best way for me.
    Regards
    Morten

    I did a:
    SELECT DISTINCT user_name
    FROM orasso.wwsso_audit_log_table_t
    WHERE action_code = 1001
    But this only gives me the users that have loged on to SSO.. I need all users even those who haven't loged on.
    All help will be really good.
    Regards

  • Outlook 2010 not finding all users in the "To" line

    I have a user that has an issue with searching in the "To" line when sending an email.
    She has sent an email to this person before, and with most users, she can type first or last name and come up with the users. But there are a select few that she can only find by typing their last name. I understand that while she can still find the user
    under the last name, she is wanting to find the users by first name. I have removed cached mode, removed the cached email address and put it back in by sending a test email to the other person, but no luck, and I have gone in and found the user in the global
    address book (Which searches by last name) and nothing This user can only be found by last name. I have been told that she can only search by last name if it someone who is in our organization, and I verified that the person she is sending to is on our domain
    and is not an outside user.
    Is there something I am missing or can try so that I can fix this for the lady who wants it to be the same across the board, or is this something that she will unfortunately just have to deal with.
    Thanks,
    Carter

    Hi,
    After some research, I found that when we search for a recipient by the text we type in, auto-complete looks at the following fields:
    1.Display Name
    2.Primary SMTP E-mail address (i.e. [email protected])
    3.Exchange Alias (i.e. abc)
    4.legacyExchangeDN attribute in Active Directory
    Auto-complete does not search against any of the following criteria:
    1.First Name (if it is different from the display name, for example if the display name contained a nickname instead of the legal first name, which is listed in the recipients’ “first name” field in Active Directory)
    2.Last Name (unless one of the above four fields starts with the last name)
    3.Username (unless one of the above four fields starts with the username, or is set to match the username)
    Please add the recipient's name(especially first name as the sender need) to the display name of the local contact, this should work.
    Thanks,
    Melon Chen
    Forum Support
    Come back and mark the replies as answers if they help and unmark them if they provide no help.
    If you have any feedback on our support, please click
    here

  • How to find all users in hyperion using ListUsers java file...

    hi..
    please can anyone let me know that how i can use the ListUsers.java file to list all users having account.
    i have created class file from above and try to run it in follwoing way...
    java ListUsers username passwd ipadd port(i use 6795 which reportsitory port)
    but it gives me error like ..
    Exception in thread "main" java.lang.NoClassDefFoundError: com/sqribe/rm/ReportMartException
    can any one plese let me is thr anything i am doing wrong.. i m sure that class in java file is same as the one i am using..
    thanks in advance.

    hey u will ge getting dataset after execution of the excute command i will try to explain it
    PreparedStatementUtil preparedstatementutil = new PreparedStatementUtil();
    preparedstatementutil.setStatement(dataProvider, "select usr.usr_email from usr usr where usr.USR_Login=?");
    preparedstatementutil.setString(1, "TEST1");
    preparedstatementutil.execute();
    tcDataSet tcdataset = preparedstatementutil.getDataSet();
    UserEmailAddr = tcdataset.getString("usr_email");
    here you are getting the email address from the dataset after executing the execute statement.
    hope this helps you
    Regards
    VM

  • Query to find all users under specific MO: Security Profile (per_security_profiles)

    Hi Folks,
    Could you please help me out to get list of users under the selected MO: Secuirty Profile.
    Requirement:
    I have a parameter in which i can select MO: Security profiles those are under responsibility level. So based upon this parameter i need to populate all organizations under selected MO Security Profile and in third parameter i need to fetch all users which are under selected MO: Security Profile.
    So please help me to sort out this problem.

    Pl do not post duplicates - How to Fetch organizations under specific MO: Security Profile
    Pl continue the discussion in your original thread

  • 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.

  • How to find the user - role assignments in the database for EP6 SP9?

    L.S.,
    We have a quite specific requirement: to see which users have access to our portal environment (EP6 SP9). It does not immediately matter (though would probably still be nice to know if possible) which roles users have exactly.
    I've been looking in the database to find user-to-role assignments there, but I'm unable to find any. The closest I got is the PID filed in the UME_STRINGS table, but users remain listed there even when all their portal roles are revoked afterwards. Any ideas?
    Kind Regards,
    Steven Dijkman

    hi Steven,
         Sorry but you will have to write some code. the following lines of code will work for you.
    IRoleSearchFilter rolefilter = UMFactory.getRoleFactory().getRoleSearchFilter();
              ISearchResult result = UMFactory.getRoleFactory().searchRoles(rolefilter);
              while (result.hasNext()) {
                   String rolestr = (String) result.next();
                   IRole r = UMFactory.getRoleFactory().getRole(rolestr);
                   response.write(r.getDisplayName());
                   response.write("<br>");
                   Iterator users = r.getMembers(true);
                   while (users.hasNext()){
                        String userstr = (String)users.next();
                        IUser user = UMFactory.getUserFactory().getUser(userstr);
                        response.write(user.getDisplayName());

  • 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]

  • Find all User Exits

    Hello Friends,
    I need to scan all the user exits and user Enhancements for a field. I can use the program - RPR_ABAP_SOURCE_SCAN.
    but my problem is using this program is how would i know all the user exits and Enanhancements.
    Any suggestions how can i find USER EXITS and all the CUSTOM ENAHANCEMENTS(Modifications).
    Please suggest.
    Thanks,
    BIOB

    Hey Suhas.
    I was able to up;oad and install it and it works great. A wonderful Tool and a must for everyone.
    Steps I followed.
    1 - Download the SAPLINK ZIP file - http://code.google.com/p/saplink/downloads/list
    2 - download the EXIt Scanner program based on ur system version
         http://code.google.com/p/abapexitrayeye/downloads/list
    3 - Goto SE38 and create a program using the file downloaded in STEP1
    4 - run the program created in STEP3 above.
    5 - upload the file from STEP2 above
    activate all the objects and the program is ready to use.
    At last, run ZSDN_EXIT_SCANNER by SE38 and... Scan'em All!
    BOB

  • Find all Office 365 users where calendar permissions on default user is not "NonEditingAuthor"

    Hi
    How do I make a Powershell script to find all users where calendar permissions on "default" user is not "NonEditingAuthor" in Office 365?
    Best Regards
    MSISOM

    Hi MSISOM,
    To export calendar permission on default user, please refer to this script:
    $rptCollection = @()
    $mailboxes = get-mailbox -ResultSize Unlimited
    $mailboxes | foreach-object{
    $alias = $_.alias + ":\Calendar"
    $displayName = $_.DisplayName
    write-host $alias
    $permissions = Get-MailboxFolderPermission $alias | Where-Object {$_.user.UserType.value -eq "Default"}
    if($permissions -ne $null){
    foreach($perms in $permissions){
    foreach($right in $perms.AccessRights){
    $rptCollection += New-Object psobject -Property @{
    "User" = $perms.User
    "Identity" = $perms.Identity
    "StringAccessRights" = $right}
    }$rptCollection
    The result is for your reference:
    Then you can filter the result with the cmdlet "where-object {}"
    If there is anything else regarding this issue, please feel free to post back.
    Best Regards,
    Anna Wang

  • Unable to find disabled users

    I used the below to search for all disabled users in the system. I have a disabled user in IDM but the queryResult is null in the log file. Do you have any ideas?
    <Action id='0' application='com.waveset.session.WorkflowServices'>
    <Argument name='op' value='queryObjectNames'/>
    <Argument name='type' value='User'/>
    <Argument name='attributes'>
    <map>
    <s>dis</s>
    <s>true</s>
    </map>
    </Argument>
    </Action>
    dis is in the <QueryableAttrNames> list already. It's one of the predefined attributes in this list. I did not add it in.
    Thanks

    I found the answer. I found it in the WFs, Forms and Views documentation for 7.1. This will find all users who are either disabled or partially disabled.
    <Action id='0' application='com.waveset.session.WorkflowServices'>
    <Argument name='op' value='queryObjectNames'/>
    <Argument name='type' value='User'/>
    <Argument name='single' value='false'/>
    <Argument name='attributes'>
    <map>
    <s>lhdis</s>
    <s>true</s>
    </map>
    </Argument>
    </Action>
    What I don't understand is lhdis is not defined in the <QueryableAttrNames> list. Below is the <QueryableAttrNames> list out of the box. Only dis but not lhdis. Even though I got the result that I want but I want to know how we can use lhdis when it's not in the <QueryableAttrNames> list???? Anyone knows?
    <QueryableAttrNames>
    <List>
    <String>correlationKey</String>
    <String>role</String>
    <String>email</String>
    <String>name</String>
    <String>firstname</String>
    <String>lastname</String>
    <String>idmManager</String>
    <String>prov</String>
    <String>dis</String>
    <String>locked</String>
    <String>user_resources</String>
    </List>
    </QueryableAttrNames>

  • VIRSA tables for users, roles and profiles sync?

    Hello,
    I am in a customer, implementing CC 5.2. At the first time, we tried CC 5.2 in DEV environment, and when everything was OK, we redirect RFC connectors to QA environment.
    After doing user, roles and profiles sync in DEV and in QA environment too, I have 4.500 user (1.100 from DEV + 3.400 from QA) when I recover all users "*" with "user level - risk analysis" from the "Informer" tab.
    It seems that "users, roles, profiles, sync" works like and "APPEND", but I did a COMPLETE syncronization not an INCREMENTAL.
    If I start an analysis for QA environment, CC works properly and only analyse QA users (3.400). But I would like to clean CC tables (users, roles and profiles) in order to have a clean copy of QA in CC.
    Which VIRSA tables (users, roles and profiles) I need to clean?
    It is necessary to do the same with authorization and text objects? Which would be these tables?
    Thanks in advance,
    Victor

    Hi all,
    SAP GRC Support provides a script which allows you to remove a connector since it does delete all data link to it. Anyway, I would recommend a deep analysis of it and find out if it does what you really want to do.
    Víctor, if what you want to do it is just to remove all user, role and profile master data (stored in tables VIRSA_CC_SYSUSR and VIRSA_CC_GENOBJ) you could upload a text file using data extractor functionality with the delete field set to X. Doing so user, role and profile master data will be removed from CC database.
    In order to use data extraction functionlaity you connector must be of type "File Local".
    Be careful about removing data directly from DB since, as Prem states, you might loose the DB consistency.
    Hope it helps. Best regards,
       Imanol

Maybe you are looking for