Users list based on attributes
SRM Gurus,
Is there a way to extract a list of users in SRM that match certain attributes, such as their backend system, document type, company code?
Does anyone know which tables I can use to get such data?
Thanks.
SN
Hi,
refer the below link could be helpful..
Re: Get Requestoner attribute from PPOMA_BBP
Thanks
prasad.s
Similar Messages
-
Hi,
I want to create a report based on the OID data to display a certain number of users defined in OID.
Can anyone tell me where i can find the necessary tables or views?
thanks
StijnHi Stign,
For accessing OID information you can take a look at the OID Portlet which is part of the PDK.zip, that you can download from Portalstudio.
http://portalstudio.oracle.com/servlet/page?_pageid=350&_dad=ops&_schema=OPSTUDIO&12678_PDKHOME902_39847486.p_subid=288769&12678_PDKHOME902_39847486.p_sub_siteid=73&12678_PDKHOME902_39847486.p_edit=0
One point I would like to make though is that Portal maintains a list of all active users, i.e., those users who have logged into portal at least once. If you want a list of all users in OID, you might consider JNDI or some LDAP APIs for generating the list of all users in OID.
Thanks,
Ashish. -
How can I filter a Sharepoint 2007 libarry list based on current user login?
Hi all.
I would like to know how I can filter a SharePoint library list based on current user login.
Suppose I have created the followings:
1) A SharePoint form library containing bunch of uploaded InfoPath form data.
2) The InfoPath form template contains a promoted text field called "TargetUser" to store user domain login (ex: DOMAIN\JOE) and every InfoPath form file in the library has a valid domain name stored in the "TargetUser" field.
I have created a custom view for the form library and would like to filter this view so only items whose "TargetUser" field matches current user's login ID are displayed.
I went to Edit View page to customize the view and tried to use the [Me] function but I got a "Filter value is not a valid text string" message instead when clicking OK. Apparently [Me] returns a Person/Group data type and the filter cannot compare its value
to that of "TargetUser".
I tried using text functions (ex: TEXT([Me],"") hoping to extract default string value from [Me]. The filter accepts the parameter without any error but the resulting fitlered list does not display any items at all.
I have googled this subject for hours but I have not found any solution.
It would be greatly appreciated if anyone can help me to create a functional filtered list.
FYI, my SharePoint 2007 installation is just WSS 3.0 + Form Server. I do not have MOSS 2007 (so no MOSS 2007 web parts or web services).
Thank you.
JasonHere's what I usually do in order to accomplish this. Ultimately you'll need to have 2 different fields. There's the one you already have, with DOMAIN\username stored in it. Then you'll need an additional field as a "person" column type.
Call it "TargetPerson" or something.
Create a sharepoint designer workflow that runs each time an item is created or changed. One action:
Set FIELD to VALUE.
The first FIELD is "TargetPerson", the VALUE is your "TargetUser" field.
Once this is done, then the person value is stored in the person field. This is the field that you can filter by "TargetPerson" is equal to [Me]
Laura Rogers, MCSE, MCTS
SharePoint911: SharePoint Consulting
Blog: http://www.sharepoint911.com/blogs/laura
Twitter: WonderLaura -
Hey Scripting Guys,
I have been in and out of Powershell last few years, not that great at it tbh !!! I'm looking for advice on how I can as in Title, Create a Powershell script to Scan Active Directory Attributes for Country and Department ,Then add to Group then add to Distribution
list based on Region/Country
I was thinking along the lines of get-aduser -LDAPFilter "(department=SALES France) and adding a where clause for country.
Any help would be great.
DecSo I have tried a few variations but get errors on both
get-aduser -LDAPFilter "(&(department=SALES)(c=us))" | Add-ADPrincipalGroupMembership -MemberOf "testgroup"
get-aduser -LDAPFilter "(&(department=SALES)(c=fr))" | Add-ADGroupMember -identity "testgroup"
Add-ADPrincipalGroupMembership : Object reference not set to an instance of an
object.
At line:1 char:86
+ get-aduser -LDAPFilter "(&(department=SALES)(c=fr))" | Add-ADPrincipalGroupMe
mbership <<<< -MemberOf "testgroup"
+ CategoryInfo : NotSpecified: (:) [Add-ADPrincipalGroupMembershi
p], NullReferenceException
+ FullyQualifiedErrorId : Object reference not set to an instance of an ob
ject.,Microsoft.ActiveDirectory.Management.Commands.AddADPrincipalGroupMem
bership -
USER NAMES LIST BASED IN A QUERY
Hi
I want to create a user names list base in a result of a query.
I must give access to specific users which are in table, this table is for accesing to the oracle portal.
But for defining what users must have access I need another table which contains a field defines what users can access to the application.
How do I must do for creating this user list?
The apex application begins when I click in its link created in the Oracle portal, this action sends a parameter of the user name of the portal.
Based in the username sent, the first page in the apex application must execute a query on load and its result must redirect to the page for user valids or another page for invalid users.
For that I have thought in doing an application without authentication scheme.
Also the application must save the username for knowing what user did the last change in a table. But this username must be the same of the oracle portal user name.
Is posible create a username list in apex which be contains the same user names of the oracle portal? How to do that?
I expect your prompt reply.
Any help would be thank.
Regards.I think VPD (Virtual Private Database) and RLS (Row Level Security) are the tools to solve your problem. Take a look at them, there are cool demos on OTN too.
Andy -
OBIEE Report based on attribute dim or say base attribute value
Hi,
I have OBIEE and Essbase implementation and have set of attribute dimensions. I am trying to understand how can I create reports in OBIEE where I can use the attribute values to filter, group, sum my fact data. For example I have a hierarchy for Dimension Supplier Geography as below -
Geography (Gen1 - Dimension)
(Gen2, Region)
(Gen3, Country)
(Gen4, Supplier Parent)
(Gen5, Supplier) (Attribute as Company Name)
Sample :
Supplier Geography
-- East
-- C1
-- PS1
-- S1 (Comp1)
-- S2 (Comp2)
-- West
-- C2
-- PS2
-- S3 (Comp1)
-- S4 (Comp2)
-- C3
-- PS3
-- S5 (Comp3)
-- S6 (Comp4)
-- North
-- C4
-- PS4
-- S7 (Comp3)
-- S8 (Comp4)
-- South
-- C5
-- PS5
-- S9 (Comp1)
-- S10 (Comp2)
Now, I would like to report where I can display information based on the attribute and display across different level. This would require to create drop down for this attribute values. For example -
A drop down showing values are Comp1, Comp2, Comp3, Comp4. When user selects Comp1 and assume that I have fact as sales amount, it should show report as below -
Comp1
Region Sales Amount
East - 10,000
West - 5,000
South - 7,000
I don't want to add a level as company as it would result in lot of redundant information. Also, I have got almost half million members and it would explode the size if I add more levels. Is there any better way to achieve this? Can I model this using alternate hierarchy? If so how would this exposed in OBIEE again?
Appreciate your inputs.
ThanksIf you are sure of the number of attributes the user will be using as criteria is fixed and will not change, you should able to bind the literals to page items like:
select emp.ename
from emp
join attribute_value a1 on a1.empno = emp.empno and a1.att_name = 'DEPT'
join attribute_value a2 on a2.empno = emp.empno and a2.att_name = 'SALARY'
join attribute_value a3 on a3.empno = emp.empno and a3.att_name = 'HIREDATE'
where a1.att_numeric_value = :P1_dept_value
and a2.att_numeric_value = :P1_salary_value
and a3.att_date_value = to_date(:P1_hiredate_value,'YYYY-MM-DD');or
select emp.ename
from emp
join attribute_value a1 on a1.empno = emp.empno and a1.att_name = :P1_att1_name
join attribute_value a2 on a2.empno = emp.empno and a2.att_name = :P1_att2_name
join attribute_value a3 on a3.empno = emp.empno and a3.att_name = :P1_att3_name
where a1.att_numeric_value = :P1_att1_value
and a2.att_numeric_value = :P1_att2_value
and a3.att_date_value = to_date(:P1_att3_value,'DD-MM-DD');What happens when your user wants to add another attribute and use it as search criteria. You have to:
1) add a JOIN clause to the SELECT
2) add to the WHERE clause to the SELECT
Warning personal opinion to follow: I would give up binding (i.e.. skipping parsing os the SELECT statement) for the flexibility of generating the SELECT at runtime. If the user adds a new attribute, then the PL/SQL code that assembles the SELECT statement would not have to be changed. All the meta data is stored in the database as to what the new column is and which column in the attributes table to use (ATT_NUMERIC_VALUE or ATT_DATE_VALUE). If your method of displaying the attributes and receiving the user's criteria is dynamic like my example, then you would not have to change the application at all for new attributes.
Just my 2 cents worth of opinion,
Mike -
Drop down list based on log in username - php mysql
I have a drop down list of client names on a php page that filters a second drop down list of site names.
At the moment, any user who logs in can see the entire list of clients, however I want to filter the list based on their username log in.
This is the entire page code, the section in bold is the drop down list in question:
<?php
if (!isset($_SESSION)) {
session_start();
$MM_authorizedUsers = "asguser,admin,member";
$MM_donotCheckaccess = "false";
// *** Restrict Access To Page: Grant or deny access to this page
function isAuthorized($strUsers, $strGroups, $UserName, $UserGroup) {
// For security, start by assuming the visitor is NOT authorized.
$isValid = False;
// When a visitor has logged into this site, the Session variable MM_Username set equal to their username.
// Therefore, we know that a user is NOT logged in if that Session variable is blank.
if (!empty($UserName)) {
// Besides being logged in, you may restrict access to only certain users based on an ID established when they login.
// Parse the strings into arrays.
$arrUsers = Explode(",", $strUsers);
$arrGroups = Explode(",", $strGroups);
if (in_array($UserName, $arrUsers)) {
$isValid = true;
// Or, you may restrict access to only certain users based on their username.
if (in_array($UserGroup, $arrGroups)) {
$isValid = true;
if (($strUsers == "") && false) {
$isValid = true;
return $isValid;
$MM_restrictGoTo = "accessdenied.html";
if (!((isset($_SESSION['MM_Username'])) && (isAuthorized("",$MM_authorizedUsers, $_SESSION['MM_Username'], $_SESSION['MM_UserGroup'])))) {
$MM_qsChar = "?";
$MM_referrer = $_SERVER['PHP_SELF'];
if (strpos($MM_restrictGoTo, "?")) $MM_qsChar = "&";
if (isset($_SERVER['QUERY_STRING']) && strlen($_SERVER['QUERY_STRING']) > 0)
$MM_referrer .= "?" . $_SERVER['QUERY_STRING'];
$MM_restrictGoTo = $MM_restrictGoTo. $MM_qsChar . "accesscheck=" . urlencode($MM_referrer);
header("Location: ". $MM_restrictGoTo);
exit;
?>
<html>
<body>
<script type="text/javascript">
function AjaxFunction(client_UID)
var httpxml;
try
// Firefox, Opera 8.0+, Safari
httpxml=new XMLHttpRequest();
catch (e)
// Internet Explorer
try
httpxml=new ActiveXObject("Msxml2.XMLHTTP");
catch (e)
try
httpxml=new ActiveXObject("Microsoft.XMLHTTP");
catch (e)
alert("Your browser does not support AJAX!");
return false;
function stateck()
if(httpxml.readyState==4)
var myarray=eval(httpxml.responseText);
// Before adding new we must remove previously loaded elements
for(j=document.testform.subcat.options.length-1;j>=0;j--)
document.testform.subcat.remove(j);
for (i=0;i<myarray.length;i++)
var optn = document.createElement("OPTION");
optn.text = myarray[i];
optn.value = myarray[i];
document.testform.subcat.options.add(optn);
var url="dd.php";
url=url+"?client_UID="+client_UID;
url=url+"&sid="+Math.random();
httpxml.onreadystatechange=stateck;
httpxml.open("GET",url,true);
httpxml.send(null);
</script>
<form name="testform" method='POST' action='mainck.php'>
Select first one
<select name=cat onChange="AjaxFunction(this.value);">
<option value=''>Select One</option>
<?
require "config.php";// connection to database
$q=mysql_query("SELECT DISTINCT * FROM qry_test GROUP BY client_name ASC");
while($n=mysql_fetch_array($q)){
echo "<option value=$n[client_UID]>$n[client_name]</option>";
?>
</select>
<select name=subcat>
</select><input type=submit value=submit>
</form>
</body>
</html>
I think I need to amend the sql statement to something like this - but I haven't quite got it right:
SELECT DISTINCT * FROM qry_test WHERE username = colname GROUP BY client_name ASC
Where do I drop the code for the colname info?
name:colname
type: text
default value: -1
run time value: $_SESSION['MM_Username']
Thanks!I don't do PHP but it would be something like:
$sql = sprintf (SELECT DISTINCT * FROM qry_test WHERE username = %s GROUP BY client_name ASC, $_SESSION['MM_Username'] );
or you can just embed the session variable into the sql string.
But why are you using the GROUP BY clause? If you just need a distinct list of names, use the DISTINCT keyword and reduce your select list to only the needed column. -
Create a filtered list based on the selection in another field? URGENT HELP NEEDED
Hi,
Hoping someone can help me with something I am working on. i am fairly new to creating forms in acrobat (know how to us the full range of very basic features) but I have now found myself needing some help.
i am producing an order form, and I need to create a filtered dropdown list based on the value selected in another field.
basically, when a user select the company chooses their Business Name from a dropdown list, I would like their deliver address to self populate. In some cases there may be a few options for the company delivery address so in these cases the second option would be a dropdown list of the options available for that company.
i have attached a screenshot, it is the Fields "Business Name" and "delivery Address/Delivery Postcode" that i would like to be linked so that the option in Business Name filtered the options in delivery Address
Hope someone out there has the time to help me with this, i am using Acrobat Pro DC
many Thanks
LeeThis will require a complex, custom-made script. The basic functionality of populating another field based on a selection in a drop-down is not that complicated, but if you want it to also populate other drop-downs (and then presumably use them to populate other fields), it will require a more complex solutions.
This tutorial is relevant for your question: https://acrobatusers.com/tutorials/change_another_field -
Creating a dynamic Selection List based on a View Object
Hello,
I'm new to JDeveloper and I would like to create a JSP Page with dynamic Selection List based on a runtime query or based on a view object (BC4J). The selection made by an user should serve another dynamic query with the necessary parameters that I built using createViewObjectFromQueryStmt(). By now I tried this using the InputSelectLOV from the Component Palette in JDeveloper. But without success. By the way: the selection list is not very large (5 values), so it's not necessary to have a form finding the desired value.
Maybe someone had experience about creating this already. Please give me a tip or a little example.
Thanks.http://otn.oracle.com/products/jdev/howtos/jsp/renderers.html
-
How to get the users list that can Add/Remove or modify Vendors in Oracle?
How to get the users list that can Add/Remove or modify Vendors in Oracle?
I need to generate a report like name and responsibility. ThanksThat query gives the Supplier information.
But what i would be needing is to find out the USERS in oracle who can Add/Modify or Remove Vendors.
I assume it should be based on the Responsibility. -
Unable to find user list in Active Directory Authenticator
Hi all,
I am using weblogic 10.3 and want to configure ActiveDirectory Authenticator for my weblogic application. We have one managed srever under admin server . I have configured a Active Directory Authenticator named "ADAuthenticator" and made following changes as per the below values:
I set the control flag to "OPTIONAL" .
Security Realms-->myrealm-->Providers-->ADAuthenticator-->Provider Specific
UserName Attribute : ServiceBEA
Principal : ServiceBEA
Host : xxxxxx
User Search Scope : subtree
Group From Name Filter : (&(ServiceBEA=%g)(objectclass=group))
Credential : xxxxxx
Confirm Credential : xxxxxx
User From Name Filter : (&(ServiceBEA=%u)(objectclass=user))
Static Group Name Attribute : ServiceBEA
User Base DN : values provided as per requirement
Port : 389
User Object Class : user
Use Retrieved User Name as Principal : checked
Group Base DN : same values as per User Base DN
Static Group Object Class : group
Group Membership Searching : unlimited
Max Group Membership Search Level : 0
These are my AD settings. After doing this i click on save and then activate changes and then restarted the admin server.
But the problem is when i login to weblogic console to check the user list under "User and Group" i am unble to find any Active Directory users.
I don't know where i made the mistake. Can some make me out of this trouble.
Any help is highly appreciated.
Thanks in advance !Hi Sean,
Actually we have already a Active Directory with username "ServiceBEA" in our windows server. So i used this "ServiceBEA" as UserName Attribute in weblogic console while creating a Active Directory Authenticator.
You mean to say that we should go for "sAMAccountName" or what? If that is the case then i have also tested with following values, but still no luck.
UserName Attribute : sAMAccountName
Principal : ServiceBEA
Host : xxxxxx
User Search Scope : subtree
Group From Name Filter : (&(sAMAccountName=%g)(objectclass=group))
Credential : xxxxxx
Confirm Credential : xxxxxx
User From Name Filter : (&(sAMAccountName=%u)(objectclass=user))
Static Group Name Attribute : sAMAccountName
User Base DN : values provided as per requirement
Port : 389
User Object Class : user
Use Retrieved User Name as Principal : checked
Group Base DN : same values as per User Base DN
Static Group Object Class : group
Group Membership Searching : unlimited
Max Group Membership Search Level : 0
Please advise what to be place in case of User Name Attribute.
Any help is highly appreciated.
Thanks in advance ! -
I send people their key by e-mail. In most cases, when they click on it and it loads Contribute and they plug in the password, it will show up in the Admin listing of users. Other times, the same process is followed but they don't show up on any user list. What can I do to get them listed?
Option 1
Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Repair Database. If that doesn't help, then try again, this time using Rebuild Database.
If that fails:
Option 2
Download iPhoto Library Manager and use its rebuild function. (In early versions of Library Manager it's the File -> Rebuild command. In later versions it's under the Library menu.)
This will create an entirely new library. It will then copy (or try to) your photos and all the associated metadata and versions to this new Library, and arrange it as close as it can to what you had in the damaged Library. It does this based on information it finds in the iPhoto sharing mechanism - but that means that things not shared won't be there, so no slideshows, books or calendars, for instance - but it should get all your events, albums and keywords, faces and places back.
Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.
Regards
TD -
Select list based on LOV - and allowing new values
Hi All,
I have a page that has a select list based on a dynamic list of values. I wanted to test out how the system was working, so I truncated all of my tables, and now my select list is blank (which makes sense). The problem is that I can't type anything into the select list. How can I make it so that if there isn't a value returned from the query that populates the LOV, I can just type one in? This also goes further in that if the value I wanted isn't already in the db, how does the user add in another value?
Thanks in advance,
CoreyHello,
Well as you now know HTML based select lists don't work like that, that widget is called a combo box and there will be built in combo boxes in APEX 3.0, it's a fairly complex dhtml widget.
What you might want to do is provide a text item next to your select box and an Add New Value Option in your select list.
Carl -
Filter master rows based on attributes in detail view.
Hi,
How do I set up VO's so that I can:
1. filter master records based on attribute values in either the detail or master attribute values.
and
2. display each distinct master record with all its associated detail records.
Stated another way, I want to list all the master records (with their associated detail records) filtered by the existence of qualifying detail records -- give me all departments which have assigned one or more employees who meet some criteria; list the departments and ALL the dept.'s employees (regardless of whether they individually meet the criteria).
We've been struggling with this for a couple of weeks. I've been trying to accomplish this on 10.1.2, 9.0.5.2 and 9.0.3.3 with pretty much the same results on all three versions.
To make queries based on values in either the master or detail records we created a database view that denormalizes the tables. This let's us include criteria based on either the master or detail tables, but of course rows from the master table may appear multiple times. We tried a DBMS global temporary table, but the inserted rows were not visible to the client; I'm assuming they're discarded with the session between queries or the queries establish separate sessions. I tried marking only the master record columns as selected and queriable and the detail columns as just queriable, but this causes the detail columns to be defined as transient VO attributes.
TIA, for ideas or guidance.Hi,
How do I set up VO's so that I can:
1. filter master records based on attribute values in either the detail or master attribute values.
and
2. display each distinct master record with all its associated detail records.
Stated another way, I want to list all the master records (with their associated detail records) filtered by the existence of qualifying detail records -- give me all departments which have assigned one or more employees who meet some criteria; list the departments and ALL the dept.'s employees (regardless of whether they individually meet the criteria).
We've been struggling with this for a couple of weeks. I've been trying to accomplish this on 10.1.2, 9.0.5.2 and 9.0.3.3 with pretty much the same results on all three versions.
To make queries based on values in either the master or detail records we created a database view that denormalizes the tables. This let's us include criteria based on either the master or detail tables, but of course rows from the master table may appear multiple times. We tried a DBMS global temporary table, but the inserted rows were not visible to the client; I'm assuming they're discarded with the session between queries or the queries establish separate sessions. I tried marking only the master record columns as selected and queriable and the detail columns as just queriable, but this causes the detail columns to be defined as transient VO attributes.
TIA, for ideas or guidance. -
BAPI to get all user lists for specific inputs
Hi Experts,
Is there any BAPI to get all input related user lists when I give input specific object, authorizations, profiles and values?
Thanks,
RohanHi
use the fun module/Bapi's
BAPI_USER_GET_DETAIL
BAPI_USER_LOCPROFILES_ASSIGN
BAPI_USER_LOCPROFILES_DELETE
BAPI_USER_LOCPROFILES_READ
BAPI_USER_PROFILES_ASSIGN
BAPI_USER_PROFILES_DELETE
SUSR_BAPI_USER_PROFILES_ASSIGN
SUSR_BAPI_USER_PROFILES_DELETE
also you can use the tables UST12 for user based authorizations
AGR_USERS -roles assignment for users
AGR_PROF - Profile data for roles
AGR_DEFINE - Auth Profiles for users
See the AGR_* and US* tables further
Reward points if useful
Regards
Anji
Message was edited by:
Anji Reddy Vangala
Maybe you are looking for
-
Using a second custom dictionary in Pages?
Over the last 12 months, I have created my own 66,000+ word medical dictionary for Word. Recently I switched over to Mac, and I use both Pages and Word. (I prefer Pages, if for no other reason than it's Universal.) I was wondering if it were possible
-
Can I get my iPod touch 4G replaced for the new ipod touch 5G for some fee?
I own an iPod touch (4th Generation) 32gb and after itouch 5g's release, i am willing to buy it but my dad will not buy me the new one, so can i get the new one in exchange of my previous ipod touch with some additional fee ?
-
Load or import custom style mapping in link options – is that possible somehow?
Hi Everyone, I'm working with Instructions for Use and Technical Manual documents in InDesign. I'm constantly fine-tuning our templates, and now I have to refresh them again, because of a brand refresh. I'm using the Custom Style Mapping in the Link
-
Good Morning All, Please help me with this. What is Trading Partner ID(TP_HEADER_ID) in AP ? Where its been stored and for what it is unique for? Thanks.
-
IPhoto won't complete calendar order, but does complete book order
I want to order a calendar I made in iPhoto 11, but everytime I get to the end of the upload this happens: I've tried ordering it is safe mode, and with the firewall turned off - doesn't work. I've also tried reinstalling iPhoto and using a different