How to get the roles/quotas

Hi all,
Db:oracle 9.2.0.6
os:solaris 8
can anyone please tell me.....how to get below details all of database users..like user roles,quotas....
userid,default tablespace,default tablespace quota,system roles,other roles,password expairy.
thanks,
kk.

kk001 wrote:
Hi all,
Db:oracle 9.2.0.6
os:solaris 8
can anyone please tell me.....how to get below details all of database users..like user roles,quotas....
userid,default tablespace,default tablespace quota,system roles,other roles,password expairy.
thanks,
kk.
You can query,
-dba_users
-dba_profiles
-dba_roles
-dba_tab_privs
-etc
Cheers

Similar Messages

  • How to get the role name in which query is published ?

    Hi Experts,
       Is there any table where i can get the name of the role in which a particular query is published. I know that if i have a role , i can check in pfcg giving that role name and in menu tab i can see all the queries published under that role. But if i know query but not role how to get the role name . Is there any table or functon modules or programs to get the information.
    Thanks & Regards
    Vamsi Kiran

    Check this table
    AGR_HIER

  • How do get the role from ldap session.

    i am using the follwing getting the role from the request in openldap and j_security_check:
    f(request.isUserInRole("manager")){
    how can i use this in the session:

    You might wanna change permissions for that attribute ...
    Change it from Admin to OWNER and you should be able to then get it for any user ...
    HTH ..

  • How to get the Role from a process

    Hi,
    I have a process where I have different role panes with human intervention activities. Each human intervention invokes a screenflow.
    Is there any method by which I can get the role pane from which an intance is generated
    For e.g. in process P1, I have 3 different role panes i.e. R1, R2, R3. Suppose there is an human intervention activity A3 in R3. It invokes a screenflow in which there are different methods. I want to get the roleId here i.e. R3.
    Through creation data I can know the instance creator i.e. participant ID, but a participant can have more than one role. I want to get the role from which the Human Intervention activity is invoked.
    Please suggest / help.
    Thanks
    Jayant

    Hey Thanks a tonn
    It works fine by the following code
    role = Activity.role
    logMessage "message"
    logMessage "Role: " + role.name
    role.id returns an int, so I used role.name
    Thanks and Regards
    Jayant

  • How to get the Role of the logged in User?

    Hi All,
    Enclosed below is the code am trying to use to get the role for a logged in portal user. But it fails
    1. Due to class path errors although I have imported the necessary jar files.
    2. Am unable to invoke/find getSAPUser() method or invoke the UMFactory.
    Iterator rit = null;
    IWDClientUser clientUser = WDClientUser.getCurrentUser();
    IUser user = clientUser.getSAPUser();
    rit = user.getRoles(true);
    IRoleFactory rfact = UMFactory.getRoleFactory();
    while (rit.hasNext()) {
    String roleName = (String) rit.next();
    IRole role = rfact.getRole(roleName);
    wdContext.currentContextElement().setRole(role);
    What could be the problem and what are the jars that need to imported as I am using EP7.0
    Thanks for all your help in advance.
    Best regards,
    Divya

    Hi Divya,
    Add WD_RUNTIME/com.sap.security/lib/com.sap.security.api.jar to your project`s java build path.
    Best regards, Maksim Rashchynski.

  • How to get the role under which a query is published

    Hi All.
    I want to know how will I know under which role a particular query is published. I have the query name. Please provide some suggestions at the earliest.
    Thanks in advance,
    Sananda

    Hi Sananda,
    When you go to RSRREPDIR table selection screen in SE16, you will see 2 'Query' fields.  Put your query technical names in second 'Query' field and execute. From the output, collect the values in first 'Query' field (GENUNIID). Take these IDs and put them in AGR_HIER table to see menu roles against these IDs. You can download data from both these tables into excel sheets and put vlookup to find menu roles against query technical names.
    Hope it helps.
    Thanks,
    Abhishek.

  • How to find the "role" in forms 6i

    I need to find what roles does a user has from forms (roles such as "admin, reguser...etc...roles that i created"
    For example, i can find the following but i don't how to get the "roles"
    DECLARE
    UN VARCHAR2(80);
    PW VARCHAR2(80);
    CN VARCHAR2(80);
    BEGIN
    :global.UN := GET_APPLICATION_PROPERTY(USERNAME);
    :global.PW := GET_APPLICATION_PROPERTY(PASSWORD);
    :global.CN := GET_APPLICATION_PROPERTY(CONNECT_STRING);
    End;
    Thank you in advance.

    Hello,
    I made it in the following way:
    I have several roles that are granted to the user but
    are not default_roles. That means they must be enabled
    with the application.
    declare
    cursor c1 is select
    GRANTED_ROLE from user_role_privs
    where default_role = 'NO';
    rolen_name varchar2(30);
    rolen_alle varchar2(2000);
    i number := 0;
    BEGIN
    open c1;
    loop
         fetch c1 into rolen_name;
         exit when c1%NOTFOUND;
         i := i+1;
         if i = 1 then
         rolen_alle := rolen_alle || rolen_name;
         else
         rolen_alle := rolen_alle || ',' || rolen_name;
         end if;
    end loop;
    close c1;
    if i >= 1 then
    DBMS_SESSION.SET_ROLE(rolen_alle);
    end if;
    END;

  • Getting the Role Title

    Hi All,
    I developed one WD application which browses all the Roles in EP. I am using the code given by Prakash Singh in his weblog on Browsing through Roles,Worksets,Pages and Iviews. In his weblog /people/prakash.singh4/blog/2005/07/28/browse-roles-folders-pages-iviews-assigned-to-a-user-ep6-sp9-and-higher he was not mentioned how to get the Role Title, but he had given the code to get description and Display name of a Role using role.getDescription()and role.getDisplayName().
    Is there any method to get the Title of a Role in the EP.? If yes, Could you please respond to this thread.
    Thank you in advance,
    Sandeep Kumar B

    Hi Denish,
    "Title of Role" is name of a role displayed in the browser.
    I am using the following code to get the name of a role
    try{
    IPcdContext targetObject = (IPcdContext)initialContext.lookup(browsing_root);
    Object object = (Object)targetObject.getAttributes("").get("com.sap.portal.pcm.Title");
    if(object instanceof IPcdAttribute){
         IPcdAttribute att = (IPcdAttribute)object;
         objtitle = att.get().toString();                    
    } catch (NamingException e) {
              msgMgr.reportSuccess(e.toString());
              e.printStackTrace();
    It is throwing ClassCastException at the first line.
    How can I get over this classcastexception.
    Thank you,
    Sandeep Kumar b

  • How to get the list of roles assigned to a user in all the child systems

    how to get the list of roles assigned to a user in all the child systems from CUA SYSTEM

    Try transaction SUIM in your CUA system. Go to user, cross-system information, users by roles. If you run it wide open, you'll get all users and all roles assigned for all systems managed in your CUA.
    Krysta

  • How to get the type of user role in ISF?

    We have functionality to hide all the buttons on Monitor task, which was successfully achieved by javascript. But we need to enable these buttons for only Site Administrators, so that they only can do necessary modifications upon request from end users. Can someone point me to correct direction how to get the user role when a user is not a Site Administrator. Thanks in advance.

    What about having your custom ISF onload script first run a db query (on older version called a rcFetch) which would evaluate if the person loading form is a member of the site admin ou.
    Here's a rough example:
    ISF_onLoad()
     rcFetch('Q1','Q1PL=' + UserID);
    This will then run a query to validate if the person is a member of the admin ou.
    SELECT * FROM DirOrganizationUnitPeople WHERE PersonID = #P1# AND OrganizationalUnitID = 1 (this should be the id of the site admin ou or the ou which you are referring to as an admin)
    then have a call back to determine if any records where return, which indicate the person is a member of the site admin ou.  
    function Q81_DataCallback(retArray, queryList)
    if (retArray['Q8500._COUNT_'] == 1)
     {  *Show the fields*  }
    Hope this helps.

  • How to get the obiee dashboard secuirity in adf to assign the roles in adf for users

    how to get the obiee dashboard secuirity in adf to assign the roles in adf for users

    thanks Benjamin...
    my present requirement is pull Role to Dashboard mapping from OBIEE Catalog
    in my project we are going to restrict the users and assigning the roles from adf.
    Pls Help me..

  • How to get the busines role

    Hi ,
    how to hide the tool bar buttons based on the business role.
    Thanks,
    venkat

    Hi,
    to get the role you can use CL_CRM_UI_ROLES=>GET_ROLE_ATTRIB. The toolbar buttons themselves are typically prepared in the DO_PREPARE_OUTPUT method of the view controller. Nevertheless you will need to check in the code of the relevant view.
    Best Regards,
    Michael

  • How to get the approver from a wf notification in case there are multiple approvers ?

    I created an ad hoc role to store mutliple approvers for a wf notification.
    My question is how to get the user_name of the first responder so I can stamp the record I need to update with it.
    I''m assuming it would be using wf_notifications.GetAttrText but I don't know what that attribute name would be.
    Please help.

    Hello,
    I think you can try with script to capture the duplicate booking on presave action. Just try to give a shot to this solution:
    http://aleemsheikh.wordpress.com/2011/08/08/warn-users-of-double-booking-in-sharepoint-calendar-in-real-time/
    http://social.msdn.microsoft.com/Forums/en-US/9a10a110-a18b-4b5b-a15f-b563322ca0a6/how-to-prevent-duplicate-calendar-list-items-sharepoint-2010
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • How to get security roles

    Hi All,
    I want to know how to get the security roles which we configured in adfsecurity.
    Regards,
    Smaran

    Hi,
    to get all roles associated with the current user, try
    SecurityContext secCtx = ADFContext.getCurrent().getSecurityContext();
    String[] roles = secCtx.getUserRoles();
    To get access to the roles defined on the system (not user specific) then this requires OPSS access. The JavaDocs are here:
    http://download.oracle.com/docs/cd/E17904_01/apirefs.1111/e10686/toc.htm
    From the top of my head. this is how get access to the JPS context to query system resources.
    JpsContextFactory jpsfact = JpsContextFactory.getContextFactory();
    JpsContext jpxCtx = jpdfact.getContext();
    IdentityStoreService store = jpxCtx.getServiceInstance(IdentityStoreService.class);
    ... from here on I have no further hint without trying it myself. However, I hope I go you started
    Frank

  • How to get the specific name of the workset which is currently selected by the user in sap portal 7.0

    Dear Expert,
    I have one requirement like to read the selected workset name in portal by the current user.I have read two documents regarding how to retrieve the PCD contents (iViews, Pages, Worksets and Roles) and its properties like Created by, Changed by, Last changed by and others using PCD API.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/6112ecb7-0a01-0010-ef90-941c70c9e401?overridelayout=true
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/508baf88-9335-2d10-efa6-c6ad61e5fc4b?quicklink=index&overridelayout=true
    But I am not able to understand how to get the specific name of the workset which is currently selected by the user.Can you please help me.
    I am using portal 7.0.
    Thanks & Regards,
    Patralekha

    Hi Expert,
    I found that we can use Interface INavigationHelperService to read Portal Role selected by user at runtime from http://scn.sap.com/thread/52194
    But this class is available in SAP NetWeaver 7.30 Enterprise Portal .
    But in SAP NetWeaver 7.0 Enterprise Portal that interface is not available.
    INavigationService is available there.
    But didn't get any proper discussion on this interface for the same requirement.
    Can you please help me.
    Thanks & Regards,
    Patralekha

Maybe you are looking for

  • Mail does not move Junk mail to the Junk mailbox.

    I use  OS X 10.9.3, Mail Version 7.3 (1878.2) and have created the rule that if Message is Junk, Move it to the Junk mailbox, but it does not work. Junk messages remain in the Inbox, even after I select messages and Apply rules. I have tried marking

  • Command Prompt / Console

    Hi, I am building a personalised java development environment and have come unstuck. I wish to create a JPanel that behaves very much like a console window allowing execution of commands (taken from a JTextField) and displaying standard output and st

  • Lost location data

    So while I was away on vacation I took a bunch of pictures using my IPhone. While on the road I uploaded them to Flickr and they worked fine with the map showing the location where they were taken. Now, back home, I have tried importing them via IPho

  • HT1420 How do I re authorise my computer?

    I recently got a new imac and my ipod wasnt updating so I de authorised the computer accidentally. Now I can work out how to re authorise my new computer!??

  • IPod VIDEO?  Where's the video?  Pls help..

    SO here's the deal. I have TONS of movies and videos and I have yet to get 1 single thing to work on the iPod. They are MPEG4's or .mp4 and I have tried various other formats with no luck. I am unable to even get the movies to load into the movies se