Creating User ID using BAPI_USER_CREATE

Hi
I am creating a user ID using the BAPI_USER_CREATE.
I couldnt find the parameter in this to add roles to the user.
Can anyone let me know How to assign roles to the users created by using this BAPI.
Regards,
Osman Jabri

Hi,
identity management API is one of the best documented APIs I've ever seen. Here is an official [documentation|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/668e6629-0701-0010-7ca0-994cb7dec5a3?overridelayout=true].
Cheers

Similar Messages

  • Exclude create user statements using datapump API

    I’m trying to perform a schema import and exclude the "create user" statements using the datapump API but I can’t get the syntax correct for the dbms_datapump.metadata_filter call.
    Using impdp I use a parfile that includes the following statements:
    schemas=bob, john
    exclude=user
    How do I achieve the same effect using the dbms_datapump.metadata_filter API?
    Any assistance greatly appreciated.
    Gavin

    Did you ever figure out your issue? I'm having the same issue after I try to set attributes.

  • Creating user groups using SQ03.

    I am going to make a change to a already existing query 01 in the user group /SAPQUERY/AM. I am not a query expert, in fact this is the second query that I am modifing. I am reading some documentation that the first thing that I have to do is create a user group. from what I am reading, the user group will contain the users that are allowing to modify queries. Since our users do not use this tool, I am the only one that creates and modifies queries. I think I am going to create a user group and that my user-id will be the only one in the group - correct? will I create one user group and and queries that I make changes to in the future user this user group or do I create user groups based on the users group that are defined by SAP. example - If I am changing a query in /SAPQUER/AM  and in /SAPQUERY/AU - would I create 2 user groups  1 for AM and 1 for AU or would I create only 1 user group and use it for both queries.
    After this, I think I have to copy the infoset (SQ02)and the query (SQ01) to custom names (names starting with Z) and then attaching the parts to the new user group.

    Hi Timothy
    Typically you want to create user groups for functional areas or grouped reports/queries. You can enter as many users as needed into a user group and only those who have the checkbox next to their name in the user group screen will have authorization to create/modify queries in the infosets where the usergroup is assigned. If you are creating 2 usergroups with the same users and authorizations then that is redundant but if the list of users is different or the authorizations may change then it would make sense to have 2 usergroups. You should have some naming convention to follow when creating the queries but the Z prefix is not required.
    Andy

  • Create User Account Using Terminal in OSX 10.9.5

    I am working on creating a shell script to create a specific user on all Mac computers at work. I have run the following commands in Terminal with no luck:
    dscl . create /Users/myuser
    dscl . create /Users/myuser RealName "My User"
    dscl . passwd /Users/myuser UsersPW
    dscl . create /Users/myuser UniqueID 561
    dscl . create /Users/myuser PrimaryGroupID 1000
    dscl . create /Users/myuser NFSHomeDirectory /Users/administrator
    dscl . create /Users/myuser UserShell /bin/bash
    dscl . append /Groups/admin GroupMembership administrator
    I have seen in the discussions that running these commands has enabled some to log in using the user account they created - they just can't see the user account in the Users list in Sys Prefs. I can't see my user account, log into my computer with it, or see a user folder at /Users/myuser. I AM able to see the user after running the dscl command and cd Local/Users/myuser - but with an ls that directory is empty. What am I missing?
    In terminal I am using the root user. I've tried logging in with sudo su and sudo -s. All commands run, but no account is created.
    If anyone could help it would be greatly appreciated.

    I don't really understand your reply, but since asking my question I realized that if, rather than choose 'New Image' inside the Disk Utility window, I use the menu bar at the top of the screen, and select File > New > Blank Disk Image,  then I get the choices I hoped for. It's all in looking in the right place, I guess, but I do wonder why those choices are not available when you choose 'New Image' within the Disk Utility window. Oh well.

  • Creating user view using 'createView' method of RemoteSession class

    Hi
    I am trying to create a user view using createView method of RemoteSesson class.
    the code is as follows:
    remoteSession = (RemoteSession)SessionFactory.getSession(REMOTE_HOST, ADMIN_ID, encryptedPassword);
    HashMap map = new HashMap();
    map.put("type", "User");
    map.put("viewId", "User");
    GenericObject obj =
    remoteSession.createView("#ID#3DA2A7588B5510DC:-4D08423:10AAD335A14:-7FEE", map);
    I get the following error on the server side:
    WavesetException: Missing object type
    com.waveset.util.WavesetException: Missing object type
         at com.waveset.util.WavesetException.checkBreakpoint(WavesetException.java:366)
         at com.waveset.util.WavesetException.<init>(WavesetException.java:133)
         at com.waveset.rpc.GenericMessageHandler.createView(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.waveset.rpc.GenericMessageHandler.request(Unknown Source)
         at com.waveset.rpc.SimpleRpcHandler.doRequest(SimpleRpcHandler.java:164)
         at com.waveset.rpc.SimpleRpcHandler.doRequest(SimpleRpcHandler.java:128)
         at org.openspml.server.SOAPRouter.doPost(SOAPRouter.java:500)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
         at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
         at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
         at java.lang.Thread.run(Thread.java:595)
    Could anyone tell me what is wrong with this code?
    Thanks!

    hi carlos,
    yes it is possible. as a reference please have a look at this document How to Reference External JAR Files in Web Dynpro DC in SAP NW Portal 7.3
    basically the steps are the same (adding dependency, public parts, etc.) for a ejb or java project.
    regards,
    christian

  • Finding create user statement using the export dump

    I have an Oracle export dump and it is a schema level export only.
    Is there any way that I can get the create user statement from that dump using import full=y show=y ?
    How do I identify the create user statement once I did the show=y

    Yes with full export this is possible because full export will create all schemas but this is not possible with schema level export because schema level import does not recreate schema.

  • How to create user group using Visual Admin Tool

    Hi
    I am trying to configure the Adobe Service in WAS.As part of this process,i supposed to create the Hroup Called "ADSCallers".In document it suggested to go Servcer>Services>Security Provider.In that i selected UserManagement Engine Tab,but there "Create User","Create Group" buttons are disabled.so how to enable it so that i can create the groups/users there.please help
    Thanks
    Prasad

    Hi,
    Did you change the display mode to change mode by clicking
    the "pencil" icon on the top left corner of the screen?
    Best Regards
    Srikishan

  • Creating a user with "create user" privilege using PL/SQL?

    I have managed to use the PL/SQL DBMS_LDAP package to create and modify OID users (DBMS_LDAP.add_s and DBMS_LDAP.modify_s).
    The question is: How can I use DBMS_LDAP to assign privileges to OID users? By "privileges" I mean options like the following (i.e. the options you can enable/disable for any OID user if you login to OIDDAS and click the "privileges" button for a particular user):
    Allow user creation
    Allow user editing
    Allow user deletion
    Allow group creation
    Allow group editing
    Allow group deletion
    Allow privilege assignment to users
    Allow privilege assignment to groups
    Andy

    Solution found.
    In case anyone comes back to this thread in the future looking to achieve a similar thing: Metalink 205315.1 contains details.

  • Create user just use for show running-config

    Dear Cisco support team,
    I want to create a user account on ASA 5520, which just has one function: show running-config.
    How to modify privilege, and set this privilege just excute this command: show running-config.
    Can you help me ?
    Thank you.
    Dang Nguyen,
    Viettel Cambodia Company.

    If the chassis is loaded with line cards, why then CPU utilization for five seconds: 11%/1%; one minute: 9%; five minutes: 9%?
    The configuration of each line cards are stored in each line cards.  There maybe a 40 Gbps backplane line but some commands have "low priority" communicating between the different line cards and up to the supervisor card.
    You'll see similar sort of behaviour too when you stack seven to nine 3750/G/E/X switches together.  

  • Creating user exits

    Hi
    I've got next suitiation...
    I installed minisap NW 7.0 and created personal users for 000 and 001 clients. I used for that TR. SU01 by DDIC user.
    Name of my client not BCUSER.
    For my personal clients i made all parameters, roles,profiles such as BCUSER user of 000 client (it was after installation NW 7.0)
    I use my personal client. For BW working i use 001 personal client.
    When i attempt to create user exit (for example: for ench. RSR00001), system requires to enter access key for creating include. It happens in for 000 and 001 my personal client.
    BUT, if i use BCUSER 000 client, system don't requires access key and makes it passible to create and to correct include.
    What i must to do that i could to create user exits using my personal client?
    Best regards!

    Hi,
    Normally you don`t change the 000 client this should remain te standard reference client. You should activate you user exit with the transaction CMOD and SMOD. Then a include will be added so that you can add you code.
    Kind,
    Frederik

  • Steps to create User ID and assigne roles.

    Hi,
    What are the steps to create User ID using BAPI_USER_CREATE1.
    How can I assign an User the role ECC/PORTAL/BI?
    Thanks in Advance
    Roy

    Am not sure what type of BI server installation you have...
    But here's one way you could create your users.
    From the BI Administration Tool --> Open your repository either offline or online --> From the menu click on Manage --> Security--> Here's where you could create your users, groups etc., set what subject areas each user/group should have access to --> After creating your users/groups you could double-click on the user or group and set permissions.
    Hope this helps,
    -Esther

  • Help , how to auto create user account

    Hi, guys,
    i wanna to know how to auto create user account after use the suppliers' api to create supplier.
    i didn't find out how to auto create user account by use ap_vendor_pub_pkg.create_vendor_contact procedure.
    how to auto create the user account ?
    if you know ,tell me ,pls
    best Regards !
    Edited by: wanjin on 2013-4-15 下午11:50

    Hi Gareth,
    I wanna create an Oracle E-business Suite use account ,but how to use fnd_user_pkg.createuser procedure to relation the AP suppliers , not employee suppliers.
    the result like N:Purchasing Super User -->supplier-->Contact Directory --> create user
    then use "Create User Account for this Contact" to create user account
    Regards,
    Wanjin

  • How can create users in OIM

    Hi All,
    I am new to OIM, Just installed OIM using IDM Template on OVM Server. I am able to login on both access and identity webconsole.
    but I dont know how can i create users and use these URL...Please help me some on this...
    thanks...
    YJR

    I am not sure what you are asking.
    Use this link if you want to use OIM Webconsole like creating users, groups etc.
    http://download.oracle.com/docs/cd/E14049_01/doc.9101/e14057/users.htm#CIHEGEHF

  • How to create user dsn for microsoft access driver(*.mdb,.*accdb) in 64 bit

    hi,
    how to create user dsn for microsodt access driver(*.mdb,*.accdb) using command line in 64 bit.
    i have installed 64 bit drivers and when use following command
    C:\Windows\System32>odbccad.exe CONFIGDSN "Microsoft Access Driver (*.mdb,*.accdb)" "DSN=GLDatabase|Description=GL Data Source|DBQ=C:\DataBase\1.mdb"
    CONFIGDSN:'unable to create a datasource for the "Microsoft Access Driver (*.mdb,*.accdb)" component not found in the registry with the error code -2147467259
    but it works with C:\Windows\SysWow64

    yes i have installed Microsoft Access Database engine 2010 redistributale => AccessDatabaseEngine_x64.exe
    i can able to create user dsn using odbccad32.exe in system32 folder but using command line its not working
    C:\Windows\System32>
    odbccad.exe CONFIGDSN "Microsoft Access Driver (*.mdb,*.accdb)" "DSN=GLDatabase|Description=GL Data Source|DBQ=C:\DataBase\1.mdb"
    CONFIGDSN:'unable to create a datasource for the "Microsoft Access Driver (*.mdb,*.accdb)" component not found in the registry with the error code -2147467259

  • How to set privillages for created user with iSQL *Plus

    The hosting company has provided ISQL * Plus interface. I have created user by using the following command:
    Create user test identified by test;
    Grant connect, resource to test;
    But I am unable to load or import data into db. How can I import/load data as its giving permission denied message.
    I think there is a lack of imp/loading data grants. Who do I set?
    Thanks & best regards
    Message was edited by:
    Raakh

    1. which version of the database ?iSQL *Plus 10.2.0.1.0
    2. how you are trying/want to import/load data ?from online control pannel I am selecting the Load Data option and processing 7 steps. message appears "Successfully Loaded" but when am seeing log file its given me
    Step: Load
    Page Refreshed Jun 7, 2007 6:38:47 AM
    Status Succeeded
    Targets orcl
    Started Jun 7, 2007 6:38:11 AM GMT-04:00
    Ended Jun 7, 2007 6:38:11 AM GMT-04:00
    Elapsed Time 0 seconds
    Output Log
    Username:SQL*Loader-704: Internal error: ulconnect: OCIServerAttach [0]
    ORA-12546: TNS:permission denied
    SQL*Loader: Release 10.2.0.1.0 - Production on Thu Jun 7 06:38:11 2007
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Message was edited by:
    Raakh

Maybe you are looking for