Query to get users using a Form
Hi All
I would like to build a query to get all users who is having access to a form. I could get the cases
where there is no submenus. But how can I handles cases were submenus also there. Please help. I have checked
the other posts in this forum. But none is giving a possibility of giving single query for this.
Kindly help.
Version 12.1.3
Thanks,
I guess my question was confusing.
I build a query like this to getthe information, but it will work only if the function is attached directly to the main menu. It will not work incase of submentus.
SELECT distinct usr.user_name FROM
FND_FORM_VL form,
FND_FORM_FUNCTIONS_VL func,
FND_MENU_ENTRIES_VL menu_l,
FND_MENUS_VL menu_h,
FND_RESPONSIBILITY_VL resp,
FND_USER_RESP_GROUPS_DIRECT usr_resp,
FND_USER usr
WHERE func.form_id = form.form_id
AND menu_l.FUNCTION_ID = func.FUNCTION_ID
and menu_h.MENU_ID = menu_l.menu_id
and form.form_name = :FORM_NAME
and resp.MENU_ID = menu_h.menu_id
and usr_resp.responsibility_id = resp.responsibility_id
and usr.user_id = usr_resp.user_id ;
Similar Messages
-
Error while Creating user using Custome form
Hi,
I created a custom form same as create user form
updated in xlDefaultAdmin.properties,xlWebAdmin_en_US.properties,struts-config.xml
on this custom every thing is working fine but when on submit(Create User) it gives me below error
in Admin Console : You do not have permissions to perform this operation.
in App server log: maoRejections:You do not have permission to insert this object.My response is based on the following assumptions:
Your custom form is similar to that of CreateUser form in all manners. The logic at the back-end has been written by you as well. As soon as you get all the values you call the createUser API of OIM to create the user. You have wriiten your custom action classes as well.
The insert error may be due to the reason that the user which you are using to create the user doesn't have sufficient permissions. In other words, if this is done through Java code then while instaniating the API, the user used must be missing these permissions.
If the error is due to this permission for users then we can give these additional permissions to individual users, if in case its not and you have some other scenario then just give me more details, probably I can help you for it.
Thanks
Sunny -
4.2.1
Hi There,
I wanted to get the counts/information of users logged into a specific Apex application. Is that possible. I searched the forum and came across the object apex_workspace_apex_users. In this I don't see the application the users last logged into.
I was looking for something like
User Count last_login
[email protected] 150 21-May-2013
[email protected] 10 22-May-2013
.Thanks!ryansun wrote:
4.2.1
Hi There,
I wanted to get the counts/information of users logged into a specific Apex application. Is that possible. I searched the forum and came across the object apex_workspace_apex_users. In this I don't see the application the users last logged into.
I was looking for something like
User Count last_login
[email protected] 150 21-May-2013
[email protected] 10 22-May-2013
This information is available through APEX views. See:
<li>APEX views: Home > Application Builder > Application > Utilities > Application Express Views
<li>Monitoring Activity Within a Workspace
<li>Creating Custom Activity Reports Using APEX_ACTIVITY_LOG
Note that the underlying logs are purged on a regular basis, so for the long term you need to copy the data to your own tables, as Martin suggests here. -
Get users using OWA for devices
I would like to disable OWA for devices for all users except those currently using the OWA for iPhone/iPad app. Is there a PowerShell cmdlet available to grab mailboxes that have OWA for devices accessing them? I've been looking at get-activesyncdevices
but this only returns actual devices using activesync. I haven't seen how to pull the OWA for devices objects with PowerShell. They are visible in EAC when viewing details under Mobile Devices, but that's not very helpful for the number of users
would have to look through.
Exchange 2013 CU1 EnterpriseI found it, I was looking for Get-MobileDevice.
-
Allowing end-user to create a user using a form
Hi all,
I'm working on a project whereby I must allow end-users from anywhere to create an account for themselves (Register).
Which table/object should I create a form on to enable users to register.
(APEX 3.1.2)
kind regards
MelHi Mel,
I just set up custom authentication for the last application I developed. The user table is pretty simple and you can easily hash the passwords. I even developed a process where a person can change their own password and the process email them of any such changes. Course, that requires an email address to be a column in the user table.
There is a relatively new Apex book out titled Pro Oracle Application Express. It has a lot of good information concerning custom authentication. It takes you through the whole process, step by step. Also, the book is excellent in itself and definitely worth having. It has a lot of good information in it.
Tony (not Tony Miller, another Tony, he he) -
Getting a useful list of tables
Can anyone recommend a query to get a useful list of tables for the end user? Our application allows users to browse the database and look at data in tables. Currently, we first have the user choose a schema, and then a table,view or synonym within the schema.
I just learned about the public owner though and it has 1000s of things in it's space, most of which aren't useful to the user.
Originally, i was using the OCI schema apis, but we switched to using a simple select from all_objects. To simplify things somewhat i automatically filter things with a '$' in them. In the public schema there are also lots of things with a '/' in them. filtering on that brings the total down to 2000+ objects, but that still seems like a lot.
I'd really like to separate 'system' objects from 'application' objects and only show the latter. Are there any idioms people use for this? Is there some information somewhere that I'm missing that might have this?
thanks,
:)rossI eventually settled on the following
SELECT OBJECT_NAME
FROM ALL_OBJECTS
WHERE OWNER='%s' AND
OBJECT_TYPE IN ('TABLE','VIEW','SYNONYM') AND
OBJECT_NAME NOT LIKE '%$%' AND
OBJECT_NAME NOT LIKE '%/%'
ORDER BY OBJECT_NAME
where the particular schema i'm interested in is plugged in for %s.
but when the schema is 'PUBLIC' I add the following to the WHERE clause
NOT EXISTS (
SELECT *
FROM ALL_SYNONYMS
WHERE OWNER=ALL_OBJECTS.OWNER AND
SYNONYM_NAME=OBJECT_NAME AND
TABLE_OWNER IN ('CTXSYS','DMSYS','EXFSYS','MDSYS','OLAPSYS','ORDSYS','SYS','WKSYS','WMSYS','XDB','SYSTEM','SYSMAN')) AND
to filter out all the system synonyms
:)ross -
Easy Question: How to identify user roles within form?
Hi folks,
I would like to display/hide button which calls static data maintenance form (from other form) based on current user roles.
If user has role "STATIC_DATA" granted then DISPLAY button (which calls static data form), else DO NOT DISPLAY it.
Any example, how to get user roles within form?
Thanks,
TomasI can do it with below code:
declare
l_cnt number;
begin
select count(*)
into l_cnt
from user_role_privs
where granted_role = 'STATIC_DATA';
if l_cnt > 0 then
-- display it
else
-- do not display
end if;
end;I think, above should work.
Thanks,
Tomas -
Query to get Forms User Session
Can any one suggest what is the SQL query to get the detail of the user session(Forms) in 10G Application Server Rel 2?
How EM takes the IP address of user in the user_session of forms?
Is there any table that it takes from?
Thanx -
Hi,
I was trying to get the user that is logged on in a query but I can't. I tried using $user, but this only works in a formatted search, in a form.
What I want to do is run a query where the user can see its active documents, based on the logged on user.
Is there any way to use $user in such a query?Sergi, here is how to...:
1. save a query SELECT $[USER]
2. run it from Queries Manager -> you'll get error
3. go to Tools -> Queries -> User Queries -> run it.. wwau! it works!
HTH -
Want to get user ID in oracle forms
Hi All,
I'm working with oracle 11g and E-BS R 12.1.2 . I created a custom form using oracle form builder and attached to E-BS. I want the user ID current logged in user. I used this command FND_PROFILE.VALUE('USER_ID') but it doesn't work.
How can I get the user_id of the current user.
Thanks & Regards,
MackSQL> select FND_PROFILE.VALUE('USER_ID') from dual;
FND_PROFILE.VALUE('USER_ID')
SQL> begin fnd_global.apps_initialize(1229, 20604, 260); end;
2 /
PL/SQL procedure successfully completed
SQL> select FND_PROFILE.VALUE('USER_ID') from dual;
FND_PROFILE.VALUE('USER_ID')
1229
SQL> -
Get users from Global Address List (GAL) using FindPeople operation of Office 365
I need to find details of all users using FindPeople operation. If I perform any search by giving value in the <QueryString> element, I get result from both GAL + My Contacts but if I remove the QueryString, I am forced to provide folder name in which
to search else I get "Internal error" resonse.
Is there any way I can retrieve/browse all the users in GAL ?>> I need to find details of all users using FindPeople operation
How big is your GAL ? the problem with using a QueryString if you want all users is even if you use a string like SMTP: this will only return the first 100 entires in the GAL. There is a note in the link Laeeq posted that states " When
searching the GAL as the primary search folder, you must specify a query string instead of a restriction, because this operation does not allow for browsing of the GAL."
One way you can use to browse the GAL using this operation is to use the Guid of the Gal (or other address list you want to browse) you can get the Addresslist guid using the Get-GlobalAddressList cmdlet
http://technet.microsoft.com/en-us/library/aa996579(v=exchg.150).aspx and then you can use code like
FindPeopleType fpType = new FindPeopleType();
IndexedPageViewType indexPageView = new IndexedPageViewType();
indexPageView.BasePoint = IndexBasePointType.Beginning;
indexPageView.Offset = 0;
indexPageView.MaxEntriesReturned = 100;
indexPageView.MaxEntriesReturnedSpecified = true;
fpType.IndexedPageItemView = indexPageView;
fpType.ParentFolderId = new TargetFolderIdType();
DistinguishedFolderIdType contactsFolder = new DistinguishedFolderIdType();
AddressListIdType adList = new AddressListIdType();
adList.Id = "2117949e-abe8-4915-91eb-9999f867fd8de";
fpType.ParentFolderId.Item = adList;
FindPeopleResponseMessageType fpm = null;
do
fpm = esb.FindPeople(fpType);
if (fpm.ResponseClass == ResponseClassType.Success)
foreach (PersonaType PsCnt in fpm.People) {
Console.WriteLine(PsCnt.EmailAddress.EmailAddress);
indexPageView.Offset += fpm.People.Length;
else {
throw new Exception("Error");
} while (fpm.TotalNumberOfPeopleInView > indexPageView.Offset);
Cheers
Glen -
How to Enable the LOV to query for partial user entries in af:query in an ADF search form
Hi guys,
I have faced one issue in creating a search form in ADF, in that I have used af:query and table region. and I have attached an lov vo to the base vo for the list of values and given UI hint as Input values with List of values. Now the issue is that I have given auto submit property as true so when I give some value suppose "Jan-14" and tab out it gives me all the correct results. but if I give like "Jan%" and then tab out then it does not give me any value. Could you kindly help me with some solution. I am using Jdev 11.1.1.6.0.
Thanks,
TanmoyTo enable the LOV to query for partial user entries, we can trap the 'LaunchPopupListener' event and add custom code there. Within the af:query component, just wondering how can we set property the 'LaunchPopupListener' for the search criteria ?
-
Query to get the windows-user(os)
Hallo,
I have a windows operating system and on this system is oracle database with the
spatial-option installed. Now I wanna create a trigger which writes in a table if
a geometry is updated. In this table I wanna write the new geometry, the time of
the update and the windows-user that logged on the windows operating system. I
don't wanna know the database user.
What is the sql-query to get the windows-user?
Thanks KatrinAs an alternative, use the SYS_CONTEXT function to get some of this info.
oracle@fuzzy:~> sqlplus test/test@XE
SQL*Plus: Release 10.2.0.1.0 - Production on Tue Jan 2 16:32:53 2007
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
SQL> select sys_context('USERENV', 'HOST') Host,
2 sys_context('USERENV', 'IP_ADDRESS') IP,
3 sys_context('USERENV', 'OS_USER') OS_User,
4 sys_context('USERENV', 'AUTHENTICATED_IDENTITY') Identity
5 from dual;
HOST IP OS_USER IDENTITY
fuzzy 127.0.0.2 oracle test
SQL> More info at http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14200/functions165.htm#i1038176 -
I’m in the early stages of creating a spreadsheet that will require data entry into the worksheet. The worksheet could get to 1000s of rows, depending on the particular user.
When I refer to the ‘Form Command’ I’m referring to the option of adding a Quick Access Tool bar button by selecting ‘more commands’, ‘all commands’, ‘Form…’
My questions/concerns would be relating to ‘should I develop this spreadsheet with the Form Command or a User Form in VBA?
Concerns/Questions:
Deployment to other users
Protecting worksheet cells so the user can only add records using the form command or the user form in vba. In other words, don’t allow users to edit cells that are not within the table structure of the sheet or add rows if they’re not using the form
Data validation when entering data…
Keith
Keith AulHi,
Both variants have pro's and cons. If you plan to use VBA you have to consider the deployment settings on other p.c.'s where you have to allow macro's where as a regular form doesn't have the need for that.
That said the userform gives you much more control because the form command is not saved. it is simply a temporary form which you have to setup every time. It's perfect for data entry. If you are looking for data validation the userform is the one to go
for. You also have the possibility to work on placements of the data entry.
So if you are looking for speed and simplicity then go for the form command. If it is handling control you are after I'd go for a userform.
Just my 2 cts
Maurice
When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer. Thank You -
Getting User Details using objectid
Hi,
First i am querying the projects using ALUI IDK
===========
IProjectManager projectManager = GetProjectManager(Request, Response);
IProjectFilter projectFilter = projectManager.CreateProjectFilter();
projectFilter.NameSearchText = searchText;
Plumtree.Remote.PRC.Collaboration.Project.IProject[] projects = projectManager.QueryProjects(projectFilter);
=================
then i am retreiving User IDsadded as Project Leader
========================
IRole role = null;
RoleTypes roleType = RoleTypes.Leader;
role = project.GetRole(roleType);
int[] GroupID = role.GetMemberIDs(MemberQueryTypes.AllGroups);
Display Group ID
=========================
Now the issue is i am not able to figure out how to get the users detail ie authusername, login name etc present in the groups that are retrieved.
Regards,
Ankit
Edited by: electrazy on Jul 18, 2011 11:39 AM
Edited by: electrazy on Jul 20, 2011 2:22 AMHello electrazy,
This is not possible from within the IDK. The best you can get are the Extended Data properties that are associated with the user object in the Global Property Map. If you want to get user information like the authentication name and the login name, you'll have to use the Portal Server API or directly query the database.
-Mike Headley, WCI Developer Support
Maybe you are looking for
-
I'm able to connect via wifi but not via ethernet
I have a iMac, Mac OS X v10.7.5, and recently had a problem connecting to internet. I can connect via wifi, but when I try connecting via ethernet it's not working. When I go to the preferences > network, it shows "green" / connected for ethernet b
-
Retrieve data from a bean into a Servlet
Hi, I created a simple JSP file called index.jsp situated in application root, then I associated this JSP with a java bean in order to collect data after the form submission, the attribute Action inside the Form tag points on a Servlet called Login s
-
Hi everybody i'm trying the new jdeveloper 10.1.3 with jsf support , and after use it sometime, i realize that the jsf editor is not synchronizing very well the components on the backing code with the jsp document , when the backing code class isn't
-
Landscape orientation/graph/overlay
I am trying to (1) make my blank page/file in landscape mode, (2) create a grid that I can resize so it looks like very small graph paper, (3) insert a text box, type text and then reverse the
-
Dear Friends, I have installed Oracle 9iDS. When i try to run the batch file startinst.bat in <<ORACLE-HOME>>/j2ee/Oracle9iDS/startinst.bat i get the following error. I m puzzled of the same.. i m stuck up with the problem for the past 2 days.. kindl