User Roles and System Privilegies????

I need to know “MY_USER” Roles and System Privilegies.
What query do I have to execute?
Thanks!

Querying DBA_ROLE_PRIVS will give you the roles a user has been assigned. Querying DBA_SYS_PRIVS will give you the system privileges a user has been assigned.
Justin
Distributed Database Consulting, Inc.
http://www.ddbcinc.com/askDDBC

Similar Messages

  • DBA role and system privileges

    I created a new user (PIPPO) with the default dba role in my db.
    I know that the dba_role has the SELECT ANY TABLE and INSERT ANY TABLE system privileges.
    I expeperienced that if I select a table of another schema on a simple sqlplus session everything is OK, but if I select the same table on the same manner in a PL/SQL procedure or in the creation of a wiew, both owned by PIPPO, the error message is that the table not exists...
    So I have to grant SELECT and INSERT on the tables I want to my user PIPPO.
    Does anyone tell me if this is normal or strange?
    Thanks

    This is normal. To access other schema's table you need to have direct grant not through roles. DBA is a role.

  • Query user roles and access

    hi,
    How can query user roles and access in whole database? I want to list username, status, rights, and role
    thanks
    P

    Hi,
    The data dictionary view dba_users has one row per user.
    The data dictionary view dab_role_privs has one row for every distinct combination of user and role that actually occurs ion your database,
    Are you interested in system privileges? See dba_sys_privs.
    Are you interested in individual grants, like the privilege to UPDATE a given table, or the privilege to execute a given stored procedure? See dba_tab_privs. (Don't be fooled by the name; it's not just for tables.)
    I hope this answers your question.
    If not, post some CREATE statements, that create tables, roles, and whatever else you want, and some GRANT statmeents that grant privileges on those objects. Pos the results that you would want to get from those objects and grants.

  • Differences Between Object And System Privileges

    Hi,
    Whats the difference between object and system privileges in oracle?
    Cheers
    Paul

    System Privileges
    A system privilege is the right to perform a particular action, or to perform an action on any schema objects of a particular type. For example, the privileges to create tablespaces and to delete the rows of any table in a database are system privileges.
    Schema Object Privileges
    A schema object privilege is a privilege or right to perform a particular action on a specific schema object:
    For example, the privilege to delete rows from the departments table is an object privilege.
    Some schema objects, such as clusters, indexes, triggers, and database links, do not have associated object privileges. Their use is controlled with system privileges. For example, to alter a cluster, a user must own the cluster or have the ALTER ANY CLUSTER system privilege.
    A schema object and its synonym are equivalent with respect to privileges. That is, the object privileges granted for a table, view, sequence, procedure, function, or package apply whether referencing the base object by name or using a synonym.
    Granting object privileges on a table, view, sequence, procedure, function, or package to a synonym for the object has the same effect as if no synonym were used. When a synonym is dropped, all grants for the underlying schema object remain in effect, even if the privileges were granted by specifying the dropped synonym.

  • User, user roles and previllages

    I have made all the tables under one user for my oracle forms, is it a good approach or should i use multiple users for this and how can i use user roles and villages for oracle forms?
    Thanks
    Hina

    In our organization, we usually has an application owner and another schema with limited privilege to connect to from application (in this case forms). For example we have application owner say DBO which owns all the objects in the application and another user IA_APP is there to connect to database from application. Privileges such as SELECT, INSERT, UPDATE, DELETE is given to IA_APP user. Object access is provided through public synonym. You can do analogy to this in your application and database.
    Regards,
    Virendra

  • ABAP User Roles and Query for accessing particular T- codes and Reports

    dear Gurus
    I have one problem, i want to know about ABAP User Query ,i have one requirement my user wants to Lock all the HR Std versus Customized reports in T- code SQ01,other department peoples also see the Payslips and Hr personal reports which is harmfull to the dept so i want to Lock all the reports in Std T- code in SQ01 and i have created one Customized User Roles or Query in which the T-codes and Reports are assigned only those particular user can access the T-codes and Std reports .how can it be possible i dont have any idea about user roles and Queries .
    kindly help me out or send me some documents related to user roles and queries
    regards ritesh sharma

    Hi Ritesh,
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/103cafc2-7a64-2b10-14b3-eddb7d324561
    Regards,
    Flavya

  • User role and Authority-check ?

    Hello,
    Could you please let me know how are the differences between User role and Authority-check. In a program I do not use Authority-check , And The user is not assigned to user role which contain this transaction ( for this program), Can the user execute this transaction OR he must be assigned to user role which contain this transaction to execute it . Supposing that we do not use any Authority-check in then program.
    Thanks in advance

    Hello Martin,
    I think this answers the OP's question about user not being assigned the role which contains the trxn code. As you have explained in this case the default auth. check for S_TCODE will fail & user cannot execute the trxv. (If i remember correctly the tables for this are AGR_USERS & AGR_TCODES)
    Anyways just to add to the OP's query. Auth. objects are added to profiles which in turn assigned to roles. So if you implement the auth. object in your program the user must also subscribe to the role containing the auth. obj. profile to be able to execute it.
    @OP:
    The transactions PFCG & SUIM might interest you. Also the tables dealing with these stuffs begin with AGR*. You can check the tables for better understanding.
    BR,
    Suhas

  • User Roles and Authorizations

    As we know in MM different user have different roles to play and they need different SAP transaction and related activies.
    In SAP we define the particular user who are actually allow to access only certain transactions only?
    What are the steps to do this in SAP?
    Secondly in which stage of implementation we define those user roles and assign duties to them in SAP ?
    bEST Regards,
    Kapil

    u can create the user role using tcode su01 and pfcg for authorization management

  • 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

  • EQUIPEMENT - User status and system status

    Hi freind,
    It would be great help if someone can brief me on  procedure / bapi or function module availability for USER STATUS and SYSTEM STATUS update to equipement.
    regards
    Pravin

    hi Pravin,
    Check this out
    <b>USER STATUS</b>
    http://help.sap.com/saphelp_erp2005/helpdata/en/56/254c40cc538437e10000000a155106/frameset.htm
    <b>SYSTEM STATUS</b>
    http://help.sap.com/saphelp_erp2005/helpdata/en/bd/7924da4d0d9043b426fc081669f27a/frameset.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/9f/972f72ec2a40479d2a7dec4500a4f2/frameset.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/68/ebac18beabc34b90d4c1949a66dece/frameset.htm
    <b>USER STATUS</b>/<b>SYSTEM STATUS</b>
    http://help.sap.com/saphelp_erp2005/helpdata/en/89/a432ff461e11d182b50000e829fbfe/frameset.htm
    Regards,
    Santosh

  • User status and System status for Trade Promotion

    Hi all!
    CRM 7.0 Web UI Trade Promotion Management.
    I have a trade promotion with custom status already assigned and visible from WEB UI, Is it possible assigning to such TP also a standard status picked amongst TP system status?
    Take into account that in the as is configuration we find in the same TP drop down list user status and system status.
    2 questions:
    1.     How can I hide the system status?
    2.     It is possible to group together user status and system status? E.g. User status: fundrequest, inplanning, submitted...+ released (system status).

    Hi Virginia Zitun,
    Can you tell me how did you manage to solve the issue.
    rgds,
    Venkat

  • Unable to authorize user using AccessControlService and user.roles and user.privileges are not set properly

    Hi,
    I am trying to enable/disable a feature based on user.roles.
    Added a constraint for that feature as below,
        <adfmf:constraints>
          <adfmf:constraint property="user.roles" operator="contains" value="manager" id="c1"/>
        </adfmf:constraints>
    In this case, Users have manager role should be able to access this feature.
    My AccessControlService response is
    {"userId" : "sales_mgr","roles" : [ "manager","MOO_OPPORTUNITY_SALES_MANAGER_DUTY","ZBS_ENT_SALES_MANAGER_DUTY"],"privileges" : [ "managerPriv","ZSF_DEFINE_SALES_FORECAST_PRIV","MOO_MANAGE_OPPORTUNITY_GROUP_SPACE_PRIV"]}
    Repsonse has "manager" as one such role.
    After adding constraint to the feature, am unable to access it.
    I tried many possibilities like  operator="contains" or "not" or "equal", but no use.
    I don't know what is going wrong. Appreciate you help.
    Thanks.

    If you are on 11.5.10 or greater or standalone 2.6.4 if you pass the responder value to wf_notification.respond API it should be updated in wf_notifications.responder column. The comments is now updated in wf_comments table against the notification id and not wf_notifications.user_comment column.
    Thanks, Vijay

  • User roles and role mapping

    I've just start as an intern in Change Management team that is helping to implement SD. My two tasks are to "develop SAP user roles specific to the new business processes" and "manage the role to position mapping for provision of security roles." None of the real employees in my team has ever done this, and my manager is now on three weeks leave. I'm new to SAP and I don't really know where to start. Can anyone offer any advice, or point me to some references? Thanks.

    Intern,
    Its a pretty cold manager who will dump a task on a inexperienced subordinate without any guidance or mentoring,  and then take three weeks off.
    Anyhow, you first need to get some insights as to what the expectations of the client are:  What type of users will there be?  What tasks will each user be responsible for carrying out?
    You also will want to collect a list of names of the actual users. Your Basis people will tell you which bits of data will have to be collected in order to create users on the system
    Next, you need to talk to the SD expert on your team about the solutions that will be implemented.  Quotes? Consignment? Scheduling agreements? Pricing? Customer Service? Marketing?  Customer Master? Material Master? The SD expert should be able to tell you at a very minimum which transactions should be made available.
    There are standard roles available delivered in the system.  These are pretty much un-usable as delivered, but they make a good starting point.  Review http://help.sap.com/erp2005_ehp_04/helpdata/EN/b4/3f9c41919eae5fe10000000a1550b0/frameset.htm
    and
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/06/57683801b5c412e10000009b38f842/frameset.htm
    Once you have all the info needed from the client and your SD experts, you then design the supporting roles at a high level. I usually use an Excel Spreadsheet with two tabs:  One tab listing roles to be developed, with all the transactions and authorization object limitations for each one;  and another tab listing Users and the supporting data needed to create a user.  If you are a Basis expert, you already know the next steps.  If not, then you typically hand your designs to the Basis team for creation of the actual Roles.
    Good luck.  Remember not to treat your interns the same way you have been treated.
    DB49

  • How to save user name and system date in a table

    I have a form that allow users to enter some information...
    I want to save user name in one of the columns and system date in another column by default when the user submit the form to save data...
    Please advice...
    Thanks

    Hi talbo,
    The most reliable method is to use a before-insert trigger on your table. This way the columns will be set properly no matter how rows are inserted (via your app or any other means). Given your user name column is called "CREATE_USER" and your date column is called "CREATE_DATE" for example - include these lines in a before-insert trigger:
    :NEW.CREATE_USER := NVL(V('APP_USER'), USER);
    SELECT SYSDATE INTO :NEW.CREATE_DATE FROM DUAL;The NVL(V('APP_USER'), USER) will set CREATE_USER to the current ApEx application user if the row is created from within the application, or to the current database user if the row is created outside the application.
    Hope this helps,
    John
    If you find this information useful, please remember to mark the post "helpful" or "correct" so that others may benefit as well.

  • User Settings and System Settings

    Which settings are stored at the user level and which settings are stored at the system level? I asked Apple support if it was possible to reset all Mavericks settings to default and retain my apps and data. They suggested I create a new user and transfer my personal files over. I expected this to start with all the settings at default, but I've found that the Network and Energy Saver settings remained the same. What other settings are not set to default when a new user is created?
    Also, Apple failed to mention that the new user would have to take ownership of the old user's files. I'm wondering if the command below was the proper way to do so:
    sudo find / -user oldusername -exec chown newusername {};

    All system-level settings are stored in /Lbrary/Preferences/, including the hidden .GlobalPreferences.plist file.
    Can't help with the Unix command, but seriously doubt their advice. Why would you want to create a new user? The normal way to reset user settings is to remove the plist files stored in /username/Library/Preferences/.

Maybe you are looking for

  • Exporting file in Flash CS5.5

    Hi, I created an animation segment with Flash Professional CS5.5. and am trying to export it in Quick Time format but everytime I try, one or more of the images are lost. Also, some images leave trace behind. I fiddled around with the settings by cha

  • Quarter bridge configurat​ion 5B38

    Hi there, We seem to have some strain gage reading problems due to some wiring problems and we need to confirm the quarter bridge connections pins (4,3,1) using the 5B38 module. Attach is a picture depicting of how it should be set up. I like some co

  • Time Machine - system won't recognise previous backup

    Hi there,      I have just restored my iMac with a clean install of ML. I particularly wanted a clean install as my TM backups were reporting massive and impossible file sizes, so I skipped the Migration Assistant's offer and proceeded as normal. Now

  • Search to Drive Letter

    In Windows 7 you could press the Windows 7, type a network drive in the search box (like V:\), press Enter and it would open a new explorer window with the V:\ drive open. I cant seem to get that functionality to work here in Windows 10.  Any ideas?

  • Help, losing hard drive free space after removing A3

    This one has me scratching my head. I've been through all the insanity of trying to get A3 up and running and have decided to give up until Apple gets their act together. So I restored my startup drive from a SuperDuper back-up (pre A3) that does hav