API for adding external roles/parties to an organization in oracle projects
Hi,
I need a help on the API for creating external roles/parties to an organization in oracle projects. There are two APIs in oracle for roles - pa_project_pub.load_org_roles and pa_project_pub.load_key_members. load_key_members api is used to load team members which are employees to a project and load_org_roles is used to add an organization role to a project. But how to use these API to load a party/external role to the organization role (or) is there any other api to do this functionality. Please suggest me on this.
Thanks,
Ramky
Hi all,
The order of blogs is:
/people/valery.silaev/blog/2005/09/14/a-bit-of-impractical-scripting-for-web-dynpro
and then
/people/bala.krishnan2/blog/2006/09/25/bid-adieu-to-bots--using-captchas
Help me soon...
Similar Messages
-
Hello,
*(1)*
how to deallocate/revoke CRM html roles using API?
I found following API for assigning CRM roles:
jtf_auth_bulkload_pkg.assign_role(username, role)
Now I am unable to find API for deleting role assigned to particular user.
Please suggest the way to find any API related good reference and also API for revoking role.
*(2)*
what is functionality of jtf_auth_principals_pkg's delete_role function?
from where it is called?
Thank You.
Swati Thakkar
Edited by: Swati on Dec 30, 2011 3:49 AMFrom the user guide:
http://download.oracle.com/docs/cd/A99488_01/acrobat/jta115ug.pdf
Roles are groupings of permissions, which are page level or function level granular
privileges used to maintain application security. A single user can be granted
several roles, each of which separately determines access rights to the user interface
details, the ability to perform certain transactions and the ability to access certain
data sets. During the registration process, users are granted the appropriate set of
roles that map to their job function. Although Oracle User Management contains the
following predefined roles, users with the appropriate access privileges can also
create and customize their own roles.
49.7.3.1 JTA_UM_DELEGATION_ACCESS
The JTA_UM_DELEGATION_ACCESS role is assigned the
JTA_UM_DELEGATION_ACCESS permission and provides users with all of the
access privileges associated with this permission.
49.7.3.2 JTA_UM_SETUP_ADMIN
The JTA_UM_SETUP_ADMIN role is assigned the JTA_UM_SETUP permission and
provides users with all of the access privileges associated with this permission.
49.7.3.3 JTF_APPROVER
The JTF_APPROVER role is assigned the JTF_APPROVER permission and provides
users with all access privileges associated with this permission.
49.7.3.4 JTF_PRIMARY_USER
The JTF_PRIMARY_USER role is assigned the JTF_PRIMARY_USER_SUMMARY
permission and provides users with all access privileges associated with this
permission.
49.7.3.5 JTF_SYSTEM_ADMIN_ROLE
The JTF_SYSTEM_ADMIN role is the global system administration role and
contains all permissions required to access and operate the System Administration
Console including JTF_SECURITY_ASSIGN_ROLE and JTA_UM_SETUP. -
Hi,
I`m getting error message like "None of the apps in your project can be activated in the target. The manifest file of one or more apps contain API sets or Office applications that are not supported by
the target Office client. To debug those apps, update manifest files to exclude any unsupported API sets or Office applications, and then start the project again. Alternatively, you can debug your apps by using Office 365 as a target." when when
updating the JavaScript API for Office and manifest schema files in your Visual Studio project from version 1.0 to 1.1 in manifest file though i have added host elements.
any help in this regard is highly appreciated
Thanks,
Santosh SutarHi Satosh Sutar,
Based on the description, you got the error message when you update the apps from version 1.0 to 1.1.
From the error message, it seems the menifest include some settings no allowed in the new version. Would you mind sharing more detail about how you update the project?
And here is an article about updating apps for Office and menifest schema files in the project for your reference:
How to: Update the JavaScript API for Office and manifest schema files in your Visual Studio project from version 1.0 to 1.1
Regards & Fei
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Weblogic API for modifying users/roles
I need to write an application which will enable adding users to weblogic
domain and configuring roles.
Does Weblogic provide such API?
If so, what are the relevant packages?
P.S.
I wasn't sure which exact newsgroup my question belongs to.
If anyone has a better suggestions please provide it.I searched the newsgroup and found that somebody addressed this issue.
"Andrey" <[email protected]> wrote in message
news:[email protected]...
>
WebLogic 7.0
I have read a number of questions on how to do these but not many answers,so
after figuring it all out, I thought I would post a message describing allthese
tasts (It would be great if BEA would start something like 'HOW-TOs forLinux'
for WebLogic)
-1. Imports required :
import weblogic.jndi.Environment;
import weblogic.management.MBeanHome;
import weblogic.management.WebLogicObjectName;
import weblogic.management.configuration.DomainMBean;
import weblogic.management.configuration.SecurityConfigurationMBean;
import weblogic.management.security.RealmMBean;
importweblogic.management.security.authentication.AuthenticationProviderMBean;
import weblogic.management.security.authentication.GroupEditorMBean;
import weblogic.management.security.authentication.UserEditorMBean;
importweblogic.management.security.authentication.UserPasswordEditorMBean;
import weblogic.security.providers.authentication.*;
0. Code to retrieve DefaultAuthenticatorMBean (this code is running insideWebLogic
server - I have it inside EJB):
DefaultAuthenticatorMBean authBean;
Context ctx = new InitialContext();
MBeanHome mbeanHome = (MBeanHome)ctx.lookup(MBeanHome.ADMIN_JNDI_NAME);
>
//Find UserEditorMBean
DomainMBean dmb = mbeanHome.getActiveDomain();
SecurityConfigurationMBean scmb =dmb.getSecurityConfiguration();
RealmMBean rmb = scmb.findDefaultRealm();
AuthenticationProviderMBean[] providers =rmb.getAuthenticationProviders();
>
for (int i = 0; i < providers.length; i++) {
if (providers[i] instanceof DefaultAuthenticatorMBean) {
authBean = (DefaultAuthenticatorMBean) providers;
break;
1. Create/Drop/Update users
to perform these tasks, the user must be logged in into weblogic and be in
Administrators
group. Then, the code is as follows:
create user: authBean.createUser(username, password, description);
remove user: authBean.removeUser(username);
change user's description: authBean.setUserDescription(username,newDescription);
>
remove user from group: authBean.removeMemberFromGroup(groupname,username);
>
add user to group: authBean.addMemberToGroup(groupname,username);
>
2. Change other users' passwords (MUST BE ADMIN TO DO THIS - by Admin Imean be
a member of Administrators group)
authBean.resetUserPassword(username, newPassword);
3. Change your own password:
this is a bit trickier, because if you are not an admin, you can't changeyour
own password!!!! This is a part that I personally don't understand - seemslike
a screw up on BEA's part. So, to allow users to change their ownpasswords, you
must change security context in the middle of processing to that of Adminuser
and run this function as Admin user. Although a bit ackward, it's veryeasy to
do. Suppose you have two EJBs - EJB A and EJB B. EJB A does normalprocessing
for the user and always runs in logged in user's security context. Now,suppose
you want to add a method to EJB A to change current password. The methodmay
look like:
public void changePassword(String logon, String oldpwd, String newpwd)
throws some exceptions
Now, there is no way to do it in EJB A, because for most users, it willrun in
a 'non-admin' security context. So, to get around it, you create another
EJB - EJB B. This EJB has one method:
public void changePassword(String logon, String oldpwd, String newpwd)
throws some exceptions
and one major difference - this EJB always runs in a secrity context ofadmin
user. To get an EJB B running 'as admin user', all you have to do in EJBA is
the following
EJB A:
public void changePassword(String logon, String oldpwd, String newpwd)
Hashtable props = new Hashtable();
props.put(Context.SECURITY_PRINCIPAL, "wlmanager");
props.put(Context.SECURITY_CREDENTIALS, "password");
// get context that with different credentials
Context ctx = new InitialContext(props);
EJBBHome home = (EJBBHome) ctx.lookup("EJBBHome");
EJBBLocal adminEJB = home.create();
adminEJB.changePassword(logon, oldpwd, newpwd);
adminEJB.remove();
of course, this poses a problem of hardcoding user id and password foradmin user
in your application - you can come up with your own ways to secure that.
THAT's IT!!! You can use the method explained in part 3 to allownon-admin users
to do pretty much everything, however for the sake of security, I woulddefinetly
vote against it and use part 3 to ONLY allow users change their ownpasswords
>
Enjoy
Andrey
"Yonatan Taub" <[email protected]> wrote in message
news:[email protected]...
I need to write an application which will enable adding users to weblogic
domain and configuring roles.
Does Weblogic provide such API?
If so, what are the relevant packages?
P.S.
I wasn't sure which exact newsgroup my question belongs to.
If anyone has a better suggestions please provide it. -
Oracle APIs For Contacts and Role Responsibility
Hello,
Please, I need a direction on how to proceed about the use of the right API. I'm working with Oracle EBS R12. If this is not the place for this kind of doubt, please let me know the best one.
I already have a site for a customer, which was created by the ra_customers_interface_all, after loading the data and processing the interface.
Now I need to create (using Oracle APIs) a contact name, which will have at least a telephone number and an e-mail address.
I know that the contact name will be in table HZ_PARTIES, but later it will be related to a site. The registry that will be used for this has the Party_Type value equals to 'PARTY_RELATIONSHIP', according to what the customers interface did after being executed.
Then the telephone number and e-mail address will be in table HZ_CONTACT_POINTS. The Owner_Table_Name of it has to be 'HZ_PARTIES'. The Owner_Table_Id of it will have the value of Party_Id from table HZ_PARTIES, which has Party_Type value equals to 'PARTY_RELATIONSHIP'.
After this, my main goal is to create a role responsibility to the contact name. So I know there are other two tables involved. They are HZ_CUST_ACCOUNT_ROLES and HZ_ROLE_RESPONSIBILITY.
And I see there are two more tables involved, which are HZ_RELATIONSHIPS, which will do the PERSON x ORGANIZATION relation, and also table HZ_ORG_CONTACTS, which has the field PARTY_SITE_ID, to finally indicate that this contact is part of a site, which I already have.
I have all these tables in mind. I just need a tip on how to proceed. I'm able to create a party as PERSON, not yet as PARTY_RELATIONSHIP. I'm able to create a contact point (telephone number). I'm lacking the idea about what to do have this:
site -> contact name -> telephone number of this contact name inside this site
I can do this:
site -> telephone number of this site
Any help would be great.Thanks for the reply but i stil have the problem...............
My Current machine.config has this to say in that particular section
<connectionStrings>
<add name="LocalSqlServer" connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|aspnetdb.mdf;User Instance=true" providerName="System.Data.SqlClient"/>
<add name="OraAspNetConString" providerName="Oracle.DataAccess.Client" connectionString=" "/>
</connectionStrings>
What can be done.........................in this case
Thanks -
Java API for adding new User in OID
I am search documentation for sample code to add a new User to the OID via Java API, I could not find any. Is it not possible to do so? if it is, can someone point me to the right location.
Thanks* This method adds employee details into directory
* @param emp Employee details to be added
* @param password Password for the employee
* @exception GroceryAppException if directory operation fails
public void addEmployee(Employee emp, String password)
throws GroceryAppException {
Map attrs = new HashMap();
List objclass = new ArrayList();
// Object classes that the employee must use
objclass.add("top");
objclass.add("inetOrgPerson");
objclass.add("orcluserv2");
// create other attributes and their values
// Add all attributes that you need to set
attrs.put("uid",emp.getEmpId());
attrs.put("cn",emp.getFirstName());
attrs.put("sn",emp.getLastName());
attrs.put("postaladdress",emp.getAddress());
attrs.put("mail",emp.getEmail());
try {
// create the Directory Entry with the specified attributes
dirManager.addDirectoryEntry("cn="+emp.getFirstName()+"cn=Users,dc=oracle,dc=com"
, objclass, attrs);
} catch (NamingException namingEx) { // for Directory errors
throw new GroceryAppException("Error while adding employee entry to directory :" +
namingEx.getMessage());
}And the Directory Manager
* Creates an entry in Directory with the specified attributes and objectclass,
* with the specified Distingushed Name.
* @param dn Distinguished name of the entry to be created
* @param objCls Object classes that the entry must use
* @param map Attribute,value mappings of the entry
* @exception NamingException if adding entry fails
public void addDirectoryEntry(String dn, List objCls, Map map)
throws NamingException {
// Create attribute list, ignore case of attribute names
Attributes attrs = new BasicAttributes(true);
if( !objCls.isEmpty()) {
Attribute objclass = new BasicAttribute("objectclass");
// Iterate thriough the collection and add the object classes to the attribute
Iterator objclsIter = objCls.iterator();
while(objclsIter.hasNext()) {
// Add the object classes
objclass.add(objclsIter.next());
// Add the object class attribute to list
attrs.put(objclass);
// Iterate through other attributes and add to attributes list
Iterator attrsIter = map.entrySet().iterator();
while( attrsIter.hasNext() ) {
Map.Entry attr = (Map.Entry)attrsIter.next();
attrs.put(new BasicAttribute((String)attr.getKey(),attr.getValue()));
// add the directory entry to the directory with the attributes
dirctx.createSubcontext(dn, attrs);
} -
Need api for changing security role in web.xml !!
My requirement is to change the value of the deployment descriptor "security-role" (in web.xml) through an api and inturn to persist the new value in web.xml. Also I need to know if this change is automatically redeployed or an explicit redeployment is needed ? In that case how do I redeploy using an api call ?
I found a lot of apis related to roles like createRole, removeRole etc.. But there are no apis to change the name of the role and inturn persist in web.xml.
Do I need to provide any more information ? Let me know
Thanks,
Karthickwhy and when do you change security-role? try to use ant task (perhaph you need xpath also). it´s the better when you perform task about life´s cycle of application.
please, describe your problem.
of course in you change web.xml you must restart the application. -
API FOR ADDING PAGE TO WORKSET fro PDK
hi All,
IPage myPage =(IPage)iCtx.lookup( "pcd:portal_content/com.intelligroup.epPractice/page/ipage");
myPage.addiView(iViewDescriptor,"sap_transaction_iview1");
// //Ended By suresh.
i am assignig iView to page , i need to add page to work set please if any one knows send the Api fror pdk i will catch , this is very urget
Thanks & regards,
SureshHi Praveen ,
pcdCtx.createDeltaLink(pageDeltaName, basePcdAttributes, pagePath);
wht is pcd Attributes ....
wht are the API u used
Hashtable env = null;
// InitialContext iCtx = null;
// try
// env = new Hashtable();
// env.put(Context.INITIAL_CONTEXT_FACTORY,IPcdContext.PCD_INITIAL_CONTEXT_FACTORY);
// env.put(Context.SECURITY_PRINCIPAL, request.getUser());
// //env.put(Constants.REQUESTED_ASPECT, PcmConstants.ASPECT_SEMANTICS);
// iCtx = new InitialContext(env);
// response.write("context--->"+iCtx);
// IPcdUtils pcdUtils = PcdAccess.getPcdUtils();
// IPcdAttributes basePcdAttributes = pcdUtils.createPcdAttributes();
// InitialContext pcdContext = new InitialContext(env);
// IPcdContext pcdCtx = (IPcdContext) iCtx.lookup("pcd:portal_content/v/g/workset3");
// pcdCtx.createDeltaLink("pcd:portal_content/v/g/page1", null , "pcd:portal_content/v/g/page1");
// }catch(Exception e)
i tried the similar coding dng this but not added to page to workset ..
please tell me the result
Regards ,
venkat p -
Custom role for adding functional position.
Custom role for adding functional position.
I added a custom role for to allow only OrganizationDesigner capabilities. I could see functional positions but I could not modify or add them. What permissions I have to assign to role for adding and modifying functional position in organization designer.
I tryed everything bot noting works unless I give site addministrator privilages to the user.Hi Indulis,
I have just replicated the behavior you are describing in our training environments. This is not the expected behavior. I will immediately open a case with Customer Care, and I suggest you do the same. -
Hi Friend & Compatriots,
I need help and I need it badly! I am writing a PO conversion program and I need to know the APIs for importing standard PO from the interface tables to Oracle Purchasing.
Thanks.
PascalConcurrent Program used is "Import Standard Purchase Order".
check the script in $PO_TOP/sql/POXPDOI.sql
in turn it will call API po_docs_interface_sv5.process_po_headers_interface -
Hi,
I am looking for some api which provides tools to manipulate MS Word documents, I need to write Web DynPro application which generates some report and save it to MS Word document. I found <a href="http://help.sap.com/saphelp_nw04/helpdata/en/ef/3483789514b748b6fe1f145e9685ab/frameset.htm">Example for the Use of an Office Document</a> but it only provides api for opening document in browser. Has anybody found some other api with more capabilities?
Thanks
MichalI just thought that maybe SAP provides some API for MS Office files processing. As far as I know ABAP systems are able to generate doc reports (solution manager). But I am not sure if there is possibility to get programmatically access to those options. Anyway I found OpenOffice API for doc processing I think it`s better then Apache project, what`s more You can save documents in lot`s of formats using the same code to generate it.
Thanks Guys for help. -
API for loading and updating Workplans into Projects
Hi Projects Gurus,
Is there any API that can load workplan into Project Accounting module?
Thanks,Dear,
I Assume when you say project accounting module means oracle project management module.
As per my understanding there is no API for the same but I guess you can use Microsoft project plan integration with oracle projects and create the workplan in oracle project management.
Thanks
:-) -
Process for adding a boolean option to the web service API
Hey guys,
Here's a little background:
I'm currently working on adding an optional "strict" mode to some of the unmarshalling functions in SchemaMarshaller that will throw exceptions when receiving bad data for certain fields, and also improving the date handling while I'm at it (I want null instead of mangled dates when receiving bad data when strict mode is off).
This is for my benefit at the moment as I'm tired of spending time debugging Flex code when XFire and Oracle are spitting out rubbish (like empty xsd:DateTime nodes, DateTimes in xsd:Date nodes, etc) - but I'm sure other people would like to use it too while we don't have a response validator, so I'd like to do it in a way that I can submit as a feature request (with patch) on Jira.
My questions are about the procedure for stuff like this- where should this option be made public in the API, and who would I talk to about it? Or would it be best for it to always be strict? - That's how I'd like it :) Perhaps it should just log errors when it encounters bad data?
This is the first thing I'd like to "add" to the SDK rather than a simple bug-fix, so I just want to do things in a kosher manner. Sorry if I come across like a total noob :)
Cheers,
-Josh
"Therefore, send not to know For whom the bell tolls. It tolls for thee."
:: Josh 'G-Funk' McDonald
:: 0437 221 380 ::
[email protected]Hey Josh,<br /><br />I'm swamped at the moment but appreciate your interest and your<br />contributions to Flex and WebServices thus far. I'll try and get some<br />time to look into your specific request and what you're hoping to do at<br />the code level, but to answer your question about test cases, you should<br />consider the NIST testsuite for XML Schema datatypes.<br /><br />BlazeDS has historically maintained the WebService implementation, so it<br />appears their test case for NIST based schema tests starts out here (and<br />refers to many data type test cases in the /nist subdirectory).<br /><br />http://opensource.adobe.com/svn/opensource/blazeds/branches/3.0.x/qa/app<br />s/qa-regress/testsuites/flexunit/src/tests/flexunit/xml/NISTXMLSchemaTes<br />t.as<br /><br />Pete <br /><br />________________________________<br /><br />From: [email protected] [mailto:[email protected]] On Behalf Of Josh<br />McDonald<br />Sent: Tuesday, July 08, 2008 8:21 PM<br />To: [email protected]<br />Subject: Re: Process for adding a boolean option to the web service API<br /><br /><br />A new message was posted by Josh McDonald in <br /><br />Developers --<br /> Process for adding a boolean option to the web service API<br /><br />Yeah I knew it'd have to be somewhere outside of SchemaMarshaller, as<br />it's [ExcludeClass] anyway so end users don't see it, nor is it<br />documented in the api docs. Just wasn't sure where it should be. I'll<br />have a think about it some more when I get some down time to work on it,<br />but webservice was where I was thinking it should be too. Didn't think<br />about having it settable on operation as well though, so thanks for that<br />:)<br /><br />Anybody know a good source of valid values for various XSI types (date<br />and DateTime mainly) for testing purposes? Or even who I should contact<br />to get access to that sort of thing? I assume the W3C will take 6 months<br />to answer me, and the answer will be "buy our $10,000 compliance testing<br />suite" or something along those lines.<br /><br />-Josh<br /><br />On Wed, Jul 9, 2008 at 9:46 AM, Matt Chotin <[email protected]><br />wrote:<br /><br /><br /> A new message was posted by Matt Chotin in<br /> <br /> Developers --<br /> Process for adding a boolean option to the web service API<br /> <br /> I think for a top-level user option I would put the new option<br />on the mx.rpc.soap.Operation class (I think that's the name). You'd<br />then have that propagate through to the underlying schema classes as<br />they are used. I'd then also add an option to the WebService class<br />itself, and basically in the Operation it should see if it has its own<br />value set and if not check the value on the WebService. We do this for<br />a couple of other flags too I think.<br /> <br /> End users in general wouldn't look at any classes other than the<br />WebService and maybe the Operation classes, so asking them to set<br />options on the schema classes themselves probably wouldn't work.<br /> <br /> Matt<br /> <br /> <br /><br /><br /><br />-- <br />"Therefore, send not to know For whom the bell tolls. It tolls for<br />thee."<br /><br />:: Josh 'G-Funk' McDonald<br />:: 0437 221 380 :: [email protected] <br /><br /><br />________________________________<br /><br />View/reply at Process for adding a boolean option to the web service API<br /><a href=http://www.adobeforums.com/webx?13@@.59b5be89/1> <br />Replies by email are OK.<br />Use the unsubscribe<br /><a href=http://www.adobeforums.com/webx?280@@.59b5be89!folder=.3c060fa3> form<br />to cancel your email subscription.
-
API for connecting to an external database object
Hi,
Can anyone provide me with the API for connecting to the external database table and to create , update and delete data with an Oracle external database object.
Wish you great time.
Best Regards
SidQuestions like yours are best asked over at the webOS Developer's Forum. The Palm Support Community here is geared to answering end-user questions about devices, not programming information.
https://developer.palm.com/
WyreNut
I am a Volunteer here, not employed by HP.
You too can become an HP Expert! Details HERE!
If my post has helped you, click the Kudos Thumbs up!
If it solved your issue, Click the "Accept as Solution" button so others can benefit from the question you asked! -
Set up std. price for proc.type F parts (External Procurement)
Experts,
what is the comon way to set up Std. price for materials with Proc.Type F (External procurement). Current I am using KKPAN and set cost out of PIR and material burden as seperate line.
Looking for a way to have the material burden as fixed value in the system which I can use as base for calculation.
Thanks in advance
JörgDear ,
For any FG material you should have Standard Price (S) in Cost2 view getting updated thrugh CK24 after ck11n done during production process .
For any Externally procured item , you should have MAP or Planned price with Valdidty .Generally duing planned cost estimaiton , planned price will be considered while you will do good issue agianst production order , systm will consider the MAP to calcualte the cost of the material .
Now to update the price you should carry out MR21 with new price for company code , validdity date , price control indicator and valution variant .
Generally in project scinario , you can use MAP for FG material .
refer :
http://help.sap.com/saphelp_47x200/helpdata/en/47/60ff6249f011d1894c0000e829fbbd/content.htm
http://www.sap-img.com/materials/price-control-v-or-s-in-material-type.htm
http://help.sap.com/saphelp_47x200/helpdata/en/47/60ff0749f011d1894c0000e829fbbd/content.htm
Regards
JH
Maybe you are looking for
-
How can i use my purchased game in new apple id
I purchased some apps by my apple id ,but unfotunately i have some problem that why i changed another apple id in my device .after that i cant synchronise & run...how can i use those purchased apps in my different id?????
-
I just purchased the computer last November and I haven't had any problems. I've only used PC's before this so I need some help!
-
Satellite P - How to disable hibernation and standby?
I have set power configuration to say Never for both Hibernation and Standby - both occur. What am I doing wrong? I would be happy with Standby but do NOT want Hibernation!
-
Custom PIR(ME11) with approval
Hi All I need to create a custom Purchase info record creation (PIR) same as ME11 . I checked and saw that there are no standard BAPI available in SAP . The development is as follows 1) User creates a entry coantining data like in ME11. 2) The data g
-
Local host name message pops up on start up
I've started getting message on start up saying "local host name is already in use, do you want to change" this just began happening. what does this mean and how can i fix it from poping up? thanks