E-Recruiting - Created users in R/3 with a determinated prefix?

Can I config E-Recruting to create the external candidate users in R/3 with a determinated prefix username (like user: ZERXXXXX). And can I set the roles that the new user have?
Thx.

Hello Pablo,
there is no setting for defining the algorithm to generate the username for an external candidate. In standard sap generates the user as MD5 hash from the alias. As the external candidate logs in by using the alias sap thinks this is enough, although having a pattern for these users is quite handy in some situations e.g. for administration. A workaround here could be a usergroup. Since a note from 2009 SAP hands the usergroup assignment of the reference user to the user of the external candidate which can be very helpful. If you really want to influence the username the easiest option would be an enhancement to class CL_HRRCF_CANDIDATE_REGISTER method GENERATE_USERNAME. But be aware that the standard generates 11 letter/digit usernames to ensure uniqueness. If you add a prefix longer than 1 letter you should add some lines to check it.
The roles for exernal candidates are much easier. As the whole authorization assignment to the external candidate is done through the reference user you are free to choose how you name the role(s) you assign to it. Two additional hints here. In spite of the reference user mechanism the authorization checks for role assignment are still in place so if you change the name of the roles for the external candidate be sure to adapt the role of the unregistered user accordingly. Furthermore DO NOT USE THE SAP STANDARD ROLES. The standard roles for the unregistered candidate and the recruiter allow the assignment of SAP_ALL to users!
Best regards
Roman

Similar Messages

  • How to create user editable Crystal Report with dynamic dataset

    What I would like to achieve:
    A program loads a report in runtime updates list of database fields (possibly includes sample data), open report in "Crystal Reports 2011" (or 2008) where user customizes report and saves it. Later on the program loads the report, fills actualized data and displays it in .net report viewer.
    What I do:
    CrReport = New CrystalDecisions.CrystalReports.Engine.ReportDocument
    CrReport.Load(TemplateFilename)
    Dim Results As DataTable
    DataTable is filled from a database
    CrReport.SetDataSource(mResults)
    CrReport.SaveAs(NewReportPath, True)
    The NewReportPath is opened in the default program.
    What are the problems
    The report is open in preview mode (not in design).
    When the field is added to the report the designer asks for XML datasource on preview.

    The short answer is that it is not possible. I broke the question to other two: How to save a report that it opens without preview? and How to create user editable Crystal Report with dynamic dataset, where it is possible to find details. Key answer is Re: How to create an editable previewable report?

  • Create user in ADAM instance with powershell

    Hi
    I was wondering if you could help me with the ability to create a user in AD / Adam? I am trying to write the powershell code to create users for Teradata connectivity. the manual process is to use adsiedit and create the users through groupof names class.
    This is what I have that is NOT working and was looking where to go from here.
    $dom=[ADSI]"LDAP://OU=Users,OU=dev,OU=tdev,dc=acme,dc=com"
    $obj = $dom.Create('GroupOfNames', 'CN=ASmith')
    $obj.SetInfo()
    any help would be greatly appreciated.
    Thank you

    Hi JRRemillard,
    What is the OS version? And have you checked the AD module?
    If the version is server 2008 or server 2003, please check this article to download Active Directory Management Gateway Service:
    Active Directory Management Gateway Service
    You can check the
    AD module , and create a new user, please try the cmdlet New-ADUser.
    If there is anyting else regarding this issue, please feel free to post back.
    If you have any feedback on our support, please click here.
    Best Regards,
    Anna Wang
    TechNet Community Support

  • Creating users in enterprise portals with CUA as userbase

    Hi All,
       we are using CUA system for maintaining the users and we want this users to be used in enterprise portals. So while installing WebAs itself, we specified the connection details to this CUA system. then we installed portal and we were able to view the users of CUA in portal.
      now i am creating a user from portal, create user option in UserManagement. but i just get an error like, could not create a user.
    i checked out in system administration->umconfiguration-> sap system. all the details that we specified during the webas installation appear there by default.
    so could you please let me know what the problem could be
    thank you

    Raj,
    I know that your problem was solved, but I've come across following SAP link. Hope, it helps other ppl..
    TITLE: Requirements for Service User Used to Connect to SAP Systems
    http://help.sap.com/saphelp_ep60sp2/helpdata/en/8f/67d27676ace84080964d4c4223bb3c/content.htm
    Thanks,
    Pritesh.

  • Invalid Naming Error while creating user in OIM and provisioning to OID

    Hi,
    I am trying to create users in OIM. As per the access policy, the users will directly provisioned to OID. When I am creating users in OIM, its showing provisioning for OID user resource. The create user task is rejected with error as
    "Response: Invalid Naming Error
    Response Description: Naming exception encountered"
    If anybody is getting these error, then please suggest a solution.
    Thanks.

    logs ???
    Are you provisioning any custom attributes of different object classes . Make sure you include those object classes as well , go to connector documentation for adding the object classes .., may be some configuration look up ....i guess
    Thanks
    Suren
    Edited by: Suren on Jul 6, 2010 7:41 PM

  • Want to add a prepopulated User defined field in create user form

    Hi,
    I have an entity adapter which will perform a pre-insert check on the user group of the user logged in to the oim.
    If the logged in user belongs to a group say "IT ADMIN", another validation check will be imposed on the create user action performed by him.
    If not from "IT ADMIN" group then create user action will be handled normally.
    Now the catch is, how would I determine the group name of the user logged in from the adapter code I have written?
    I decided to keep an User defined field "Created by" in the create user form which will be non-editable and auto-prepopulated with the group name of the logged in user. This way I will be able to map the variable field from the User definition drop down list while mapping the adapter variables.
    May you please guide me how I can achieve this?
    Would highly appreciate suggestion/inputs.

    Thanks for all your replies!
    However I am still in dark.
    I tried to retrieve the groupname using tcUSerOperationsIntf. But iit tries to retrieve the group name of the user getting created.
    Please note, the group name I want is not of the user yet to get created, but that of the user creating it i.e., the logged in user.
    My requirement is to have this created_by field in the create user form already prepopulated with the group name of the logged in user.
    So that I can put a check based on this field value in the netity adapter.
    If the group is IT ADMIN then proceed with the validation.
    Else no validation required.
    In short, I want to know,how can I auto-prepopulate a UDF in Create USer form?

  • How to create users in/for FDQM mapping maintenace

    Client wants to know that is it possible to create users in/for FDQM with different rights. Like for example the admin user will be overall responsible for mapping maintenace and data load but they also want to make a user just for mapping maintenace and it should not have the right to load data. Is this possible and if yes then how?
    Thanks in advance.
    Regards

    User maintenance is simply used for assigning location access for users, shared services determines the role to user has i.e. Admistrator or Intermediate 1-9 etc. If you take a look at object maintenance you will see that you can make all the FDM objects listed there only available for certain roles by default most of these are set to All Intermediate or Administartor. What I would do is create a more targetted obect security model and then through the allocation of the appropriate Intermediate roles you should be able to achieve the functionality your client is requesting

  • Add user to Netinfo database with Applescript

    Does anyone have an example Applescript that would allow us to add a user to the local Netinfo Database on a computer? We would like to push this to a lab of computers to add a new local user to all computers at once.
    thanks

    See this article for some Terminal commands which can be used. To run these from an AppleScript, use code such as:
    set the_password to "password"
    do shell script "nicl . -create /users/username" password the_password with administrator privileges
    continuing the code for the rest of the commands in step 4 the article modified as needed. If you aren't creating a group, skip the line to append the user to the group and remove the group name from the chmod. The passwd command is interactive and cannot be executed from within AppleScript.
    (18463)

  • This is how to bulk create users programatically (source code included)

    After scouring all of the related forums and gathering all of
    the clips of code and viewing all of the comments and docs on
    the api's, I have found a working means of bulk loading my users
    into portal from my previous system...
    NOTE: THIS CODE SHOULD BE USED VERY CAREFULLY, AS, IT CAN REALLY
    DESTROY YOUR SYSTEM MAYBE EVEN YOUR HARDWARE AND IN REARE CASES,
    BRING WORLD WIDE PLAGUES ACCOMANIED BY WEIGHT GAIN...
    Now, the only thing it does not do is trap the error of trying
    to create a user that already exists.
    If, only someone would give me a job doing this stuff (hint,
    hint):
    DECLARE
    CURSOR user_cursor IS
    /* Add your own query to get needed data
    for import.... this is mine coming from a
    migrated SQL2000 db...
    SELECT
    "SYSTEM"."OnlineProfiles"."LogonName",
    "SA"."EMPLOYEES"."EMPLOYEEID",
    "SA"."EMPLOYEES"."LAST_NAME",
    "SA"."EMPLOYEES"."FIRST_NAME",
    "SA"."EMPLOYEES"."MIDDLE_NAME",
    "SA"."EMPLOYEES"."DOB",
    "SA"."EMPLOYEES"."EMAIL",
    "SA"."EMPLOYEES"."PHONE",
    "SA"."EMPLOYEES"."STREET_ADDRESS",
    "SA"."EMPLOYEES"."APT",
    "SA"."EMPLOYEES"."CITY",
    "SA"."EMPLOYEES"."STATE",
    "SA"."EMPLOYEES"."ZIP",
    "SA"."EMPLOYEES"."DISTRICT",
    "SA"."EMPLOYEES"."JOB",
    "SA"."EMPLOYEES"."DATEOFHIRE",
    "SYSTEM"."OnlineProfiles"."Password"
    from "SA"."EMPLOYEES", "SYSTEM"."OnlineProfiles"
    WHERE "SA"."EMPLOYEES"."EMPLOYEEID"
    = "SYSTEM"."OnlineProfiles"."EmployeeID";
    P_USER_NAME VARCHAR2(256);
    P_EMPNO VARCHAR2(30);
    P_LAST_NAME VARCHAR2(60);
    P_FIRST_NAME VARCHAR2(60);
    P_MIDDLE_NAME VARCHAR2(60);
    P_DATE_OF_BIRTH DATE;
    P_EMAIL VARCHAR2(256);
    P_HOME_PHONE VARCHAR2(30);
    P_HOME_ADDR1 VARCHAR2(60);
    P_HOME_ADDR2 VARCHAR2(30);
    P_HOME_CITY VARCHAR2(30);
    P_HOME_STATE VARCHAR2(30);
    P_HOME_ZIP VARCHAR2(30);
    P_ORGANIZATION VARCHAR2(150);
    P_TITLE VARCHAR2(80);
    P_HIREDATE DATE;
    P_PASSWORD VARCHAR2(30);
    l_uid number(32);
    l_gid number(32);
    l_errno number(30);
    l_group varchar2(100) := 'BDS_USERS'; -- All users added to same
    group
    l_debug number(10) := 0;
    BEGIN
    OPEN user_cursor;
    LOOP
    FETCH user_cursor INTO P_USER_NAME,
    P_EMPNO,
    P_LAST_NAME,
    P_FIRST_NAME,
    P_MIDDLE_NAME,
    P_DATE_OF_BIRTH,
    P_EMAIL,
    P_HOME_PHONE,
    P_HOME_ADDR1,
    P_HOME_ADDR2,
    P_HOME_CITY,
    P_HOME_STATE,
    P_HOME_ZIP,
    P_ORGANIZATION,
    P_TITLE,
    P_HIREDATE,
    P_PASSWORD;
    EXIT WHEN user_cursor%NOTFOUND;
    l_debug := 1; -- Add user to portal...
    l_uid := portal30.wwsec_api.add_portal_user(
    p_user_name =>P_USER_NAME,
    p_portal_user => 'Y',
    p_Display_Personal_Info=>'Y',
    p_Known_As=>P_FISRT_NAME,
    p_Organization=>P_ORGANIZATION,
    p_Empno=>P_EMPNO,
    p_Last_Name=>P_LAST_NAME,
    p_First_Name=>P_FIRST_NAME,
    p_Middle_Name=>P_MIDDLE_NAME,
    p_Date_Of_Birth=>P_DATE_OF_BIRTH,
    p_Email=>P_EMAIL,
    p_Home_Phone=>P_HOME_PHONE,
    p_Home_Addr1=>P_HOME_ADDR1,
    p_Home_Addr2=>P_HOME_ADDR2,
    p_Home_City=>P_HOME_CITY,
    p_Home_State=>P_HOME_STATE,
    p_Home_Zip=>P_HOME_ZIP,
    p_Organization=>P_ORGANIZATION,
    p_Title=>P_TITLE,
    p_Hiredate=>P_HIREDATE);
    l_debug := 2; -- Create a User for Login Server...
    portal30_sso.wwsso_api_user_admin.create_user
    (P_USER_NAME
    ,P_PASSWORD
    ,P_EMAIL
    ,sysdate
    ,null
    ,FALSE
    ,l_errno);
    l_debug := 3; -- Get default group id number...
    l_gid := portal30.wwsec_api.group_id(l_GROUP);
    l_debug := 4; -- Activate new user...
    portal30.wwsec_api.add_user_to_list(l_uid, l_gid, 0);
    l_debug := 5; -- Assign new user to default group...
    portal30.wwsec_api.set_defaultgroup(p_groupid =>
    l_gid,p_username => P_USER_NAME);
    l_debug := 51;
    commit;
    l_debug := 6; -- Output progress to screen...
    htp.p('Created User : '||P_USER_NAME||' UID '||l_uid||'
    with the Group ID '||l_gid||htf.br);
    END LOOP;
    CLOSE user_cursor;
    END;
    Enjoy!
    PS someone write the trap for the unique constraint violation
    and email it to me....
    Bryancan

    Sorry had a couple of typos in there... this one works...
    DECLARE
    CURSOR user_cursor IS
    SELECT
    "SYSTEM"."OnlineProfiles"."LogonName",
    "SA"."EMPLOYEES"."EMPLOYEEID",
    "SA"."EMPLOYEES"."LAST_NAME",
    "SA"."EMPLOYEES"."FIRST_NAME",
    "SA"."EMPLOYEES"."MIDDLE_NAME",
    "SA"."EMPLOYEES"."DOB",
    "SA"."EMPLOYEES"."EMAIL",
    "SA"."EMPLOYEES"."PHONE",
    "SA"."EMPLOYEES"."STREET_ADDRESS",
    "SA"."EMPLOYEES"."APT",
    "SA"."EMPLOYEES"."CITY",
    "SA"."EMPLOYEES"."STATE",
    "SA"."EMPLOYEES"."ZIP",
    "SA"."EMPLOYEES"."DISTRICT",
    "SA"."EMPLOYEES"."JOB",
    "SA"."EMPLOYEES"."DATEOFHIRE",
    "SYSTEM"."OnlineProfiles"."Password"
    from "SA"."EMPLOYEES", "SYSTEM"."OnlineProfiles"
    WHERE "SA"."EMPLOYEES"."EMPLOYEEID"
    = "SYSTEM"."OnlineProfiles"."EmployeeID";
    P_USER_NAME VARCHAR2(256);
    P_EMPNO VARCHAR2(30);
    P_LAST_NAME VARCHAR2(60);
    P_FIRST_NAME VARCHAR2(60);
    P_MIDDLE_NAME VARCHAR2(60);
    P_DATE_OF_BIRTH DATE;
    P_EMAIL VARCHAR2(256);
    P_HOME_PHONE VARCHAR2(30);
    P_HOME_ADDR1 VARCHAR2(60);
    P_HOME_ADDR2 VARCHAR2(30);
    P_HOME_CITY VARCHAR2(30);
    P_HOME_STATE VARCHAR2(30);
    P_HOME_ZIP VARCHAR2(30);
    P_ORGANIZATION VARCHAR2(150);
    P_TITLE VARCHAR2(80);
    P_HIREDATE DATE;
    P_PASSWORD          VARCHAR2(30);
    l_uid number(32);
    l_gid number(32);
    l_errno number(30);
    l_user varchar2(100);
    l_group varchar2(100) := 'BDS_USERS';
    l_debug number(10) := 0;
    BEGIN
    OPEN user_cursor;
    LOOP
    FETCH user_cursor INTO P_USER_NAME,
              P_EMPNO,
              P_LAST_NAME,
              P_FIRST_NAME,
              P_MIDDLE_NAME,
              P_DATE_OF_BIRTH,
              P_EMAIL,
              P_HOME_PHONE,
              P_HOME_ADDR1,
              P_HOME_ADDR2,
              P_HOME_CITY,
              P_HOME_STATE,
              P_HOME_ZIP,
              P_ORGANIZATION,
              P_TITLE,
              P_HIREDATE,
              P_PASSWORD;
         EXIT WHEN user_cursor%NOTFOUND;
         l_debug := 1;
         l_uid := portal30.wwsec_api.add_portal_user(p_user_name
    =>P_USER_NAME,p_portal_user => 'Y',
    p_Organization=>P_ORGANIZATION,
    p_Empno=>P_EMPNO,
    p_Last_Name=>P_LAST_NAME,
    p_First_Name=>P_FIRST_NAME,
    p_Middle_Name=>P_MIDDLE_NAME,
    p_Date_Of_Birth=>P_DATE_OF_BIRTH,
    p_Email=>P_EMAIL,
    p_Home_Phone=>P_HOME_PHONE,
    p_Home_Addr1=>P_HOME_ADDR1,
    p_Home_Addr2=>P_HOME_ADDR2,
    p_Home_City=>P_HOME_CITY,
    p_Home_State=>P_HOME_STATE,
    p_Home_Zip=>P_HOME_ZIP,
    p_Title=>P_TITLE,
    p_Hiredate=>P_HIREDATE);
         l_debug := 2;
         portal30_sso.wwsso_api_user_admin.create_user
    (P_USER_NAME
         ,P_USER_NAME
         ,P_USER_NAME||'@getbenefits.com'
         ,sysdate
         ,null
         ,FALSE
         ,l_errno);
         l_debug := 3;
         l_gid := portal30.wwsec_api.group_id(l_GROUP);
         l_debug := 4;
         portal30.wwsec_api.add_user_to_list(l_uid, l_gid, 0);
         l_debug := 5;
         portal30.wwsec_api.set_defaultgroup(p_groupid =>
         l_gid,p_username => P_USER_NAME);
         l_debug := 51;
         commit;
         l_debug := 6;
         htp.p('Created User : '||P_USER_NAME||' UID '||l_uid||'
    with the Group ID '||l_gid||htf.br);
    END LOOP;
    CLOSE user_cursor;
    END;

  • OIM 9.1.0.1 :- Create User Operation with Approval.

    Guru/Experts,
    I am currently using OIM 9.1.0.1 , and i want create user functionality to be work with approval. Whenvr a user Or xelsysadm tries to create user then its should ask for approve/Rejact then only it will create or reject the operation.
    Thanks,
    Hemant.

    user8995781,
    Thanks for your reply , but i am not able to create a user. I am getting illegalArgumentException. My Approval process is triggering properly but i am not able to see provision process triggering properly.
    Please find below log :-
    13:24:07,457 INFO [PropertyMessageResources] Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
    13:24:07,478 INFO [PropertyMessageResources] Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
    13:24:07,481 INFO [PropertyMessageResources] Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
    13:24:07,616 INFO [PropertyMessageResources] Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
    13:24:09,285 INFO [PropertyMessageResources] Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
    13:26:09,387 ERROR [REQUESTS] Class/Method: tcRequestOperationsBean/getRequestDetail encounter some problems: Error while executing query to get request information.
    13:26:09,388 ERROR [REQUESTS] Class/Method: tcRequestOperationsBean/getRequestDetail encounter some problems: {1}
    java.lang.IllegalArgumentException
    at java.sql.Date.valueOf(Date.java:138)
    at com.thortech.xl.ejb.beansimpl.tcRequestOperationsBean.getRequestDetail(Unknown Source)
    at com.thortech.xl.ejb.beans.tcRequestOperationsSession.getRequestDetail(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:597)
    at org.jboss.invocation.Invocation.performCall(Invocation.java:359)
    at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:237)
    at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:158)
    at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:169)
    at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
    at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
    at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350)
    at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
    at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)
    at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
    at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:138)
    at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)
    at org.jboss.ejb.Container.invoke(Container.java:960)
    at sun.reflect.GeneratedMethodAccessor134.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
    at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
    at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
    at org.jboss.invocation.local.LocalInvoker$MBeanServerAction.invoke(LocalInvoker.java:169)
    at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:118)
    at org.jboss.invocation.InvokerInterceptor.invokeLocal(InvokerInterceptor.java:209)
    at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:195)
    at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:61)
    at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:70)
    at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:112)
    at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:100)
    at $Proxy767.getRequestDetail(Unknown Source)
    at Thor.API.Operations.tcRequestOperationsClient.getRequestDetail(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:597)
    at Thor.API.Base.SecurityInvocationHandler$1.run(Unknown Source)
    at Thor.API.Security.LoginHandler.jbossLoginSession.runAs(Unknown Source)
    at Thor.API.Base.SecurityInvocationHandler.invoke(Unknown Source)
    at $Proxy786.getRequestDetail(Unknown Source)
    at com.thortech.xl.webclient.actions.RequestAction.setPendingTask(Unknown Source)
    at com.thortech.xl.webclient.actions.RequestAction.requestDetail(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:597)
    at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:280)
    at com.thortech.xl.webclient.actions.tcLookupDispatchAction.execute(Unknown Source)
    at com.thortech.xl.webclient.actions.tcActionBase.execute(Unknown Source)
    at com.thortech.xl.webclient.actions.tcAction.execute(Unknown Source)
    at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
    at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at com.thortech.xl.webclient.security.SecurityFilter.doFilter(Unknown Source)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
    at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
    at java.lang.Thread.run(Thread.java:662)
    Thanks,
    Hemant.

  • How Do I Create User Account with "limited admin rights"?

    Hello;
    I would like to give a handful of users the ability to login to the DCC and enable them to add/delete/modify users and or hosts only, I.e. People and/or hosts.
    Is there anyway to:
    1.  Make a user with this admin capability?
    2.  Segregate the containers they are able to modify?
    Thanks to all in advance.

    BobM53, That would be needed regardless of what front end my users log in with, in my case I was looking for them to access the DIT via the DSCC/DCC, which is not possible.  Regardless, thank you for your reply, it is reassuring to know I am headed in the right direction.
    I am now looking towards installing something else like Apache Directory Studio, or some other GUI for users to manage the directory. 
    I will most likely create one or more ACI's to build groups, adding members to those groups as needed; each group being allowed to perform functions such as create users, lockout users, add/modify hosts, etc.
    I will most likely follow the steps outlined in:
    Directory Server Groups, Roles, and CoS - 11g Release 1 (11.1.1.7.0)
    Slightly OT, does anyone have a suitable and similar proven method to "lockdown" root accounts, and who has root access?
    Thank you

  • What the best way to create User defined table with ADDON purpose

    Hi folks, how are you ?
    I´m beginner in development to business one, and I m studying to develop ISV addons.
    But, during my exercises and analisys, I learned that have two ways to create tables and fields in business one. One way is throght by wizard in business one using Tools Menu > Configuration Tools > User Defined Tables >
    Obs: I ´m using Business One Patch Level 9.
    Other way, is create the tables and fields using DI API
    But, my question is. When I develop one addon, or one UDO form that uses one set of user defined tables or used defined fields that where created by the first way (by wizard in B1), how I deploy this in other business one installation ? The package process will ensure the creation of this tables in another enviroment or I must implement the creation of user defined tables using DI API so that this code is called during the installation?
    If in cases of addon develop I must use DI API to create user defined tables, How can I use my classes with this responsibility in package process ?
    Thanks my friends.

    Hi Renan,
    You just need to put your logic in to the startup of your application, after you've established your connection to the UI API and DI API. All this will be triggered in the constructor of your main class.
    namespace MyNamespace
    public class MyAddon
      bool runAddon = true;
      bool initialised = false;
      const string ADDON_NAME = "My Addon";
      public static void Main()
            MyAddon addOn = new MyAddon();
            if(runAddon)
                  System.Windows.Forms.Application.Run();
            else
             Application.Exit();
      public MyAddon()
            // Connect to SBO session for UI
            if(!SetApplication()) runAddon = false;
      private bool SetApplication()
            // Code goes in here to establish UI API and DI API connections
            // See SDK samples for examples
            // You should also define and filter the UI API events your addon will trap at this stage and create any menus
            // Call your routine to check if the required UDFs/UDTs exist on this company
            initialised = CheckInitialisation();
            if (!initialised)
               //  AddOn not yet intialised on this company so prompt the user to run the intialisation process
              int iResponse = app.MessageBox("The " + ADDON_NAME + " addon will now create all required fields and tables."
                                             + System.Environment.NewLine + System.Environment.NewLine
                                             + "WARNING: It is strongly recommended that all other users are logged out of this company "
                                             + "before running this process. Are you sure you wish to continue?", 2, "Yes", "No", "");
              if (iResponse == 1) initialised = InitialiseAddOn(); // Call your routine to create the objects
            return true;
    Kind Regards,
    Owen

  • Problem with Notifications on Create User/ Change User Password

    Hello,
    I'm having a problem sending emails to users when an account is created in OIM.
    I added a notification to the user and user's manager on the Create User task in the Xellerate User process definition but the emails are not being sent.
    I know that if I create another task with the purpose of sending emails and invoke it through the response in the Create User task, it will work.
    My aim is to avoid adding tasks for something OIM should be able to do OOTB.
    I'm also unable to send an email when a password is updated.. I did the same thing as for the Create User and I know the task (Change User Password) is being invoked by looking at the logs but the emails aren't being sent.
    Has anyone ran into such problems?
    I'm having these problems in the Xellerate User process task.. i've added notifications in other process tasks (mainly approval tasks) and they are working fine.
    Thanks in advance

    Hi,
    I am just confuse with your response.Have you added the "Password Updated" task in xellerate user provisioning process?
    Now if you changing password in OIM profile it will trigger "Change User Password" task not the "Password Updated" task and even if you add "Password Updated" task on Xellerate User provisioning task you can't see this task in Resource Details.
    Now assume if you added your notification on "Password Updated" task of any resource which user is provisioned to even then when you change oim password it only trigger "Change User Password" task.So try to have your notification on "Change User Password" task.
    Please clarify so that I can response correctly.
    Regards
    Nitesh

  • Create Users with Mail enabled in dscl or command line

    I have figured out how to use the dscl to add a user.
    example:
    $ sudo dscl . create /users/rothman uid 701
    $ sudo dscl . create /users/rothman gid 20
    $ sudo dscl . create /users/rothman realname "Ernest Rothman"
    $ sudo dscl . create /users/rothman passwd \*
    I went as far as to launch WorkGroup manager to enable Mail.
    The following gave me the key values:
    dscl . read /Users/test MailAttribute > mailsettings.txt
    When I try to replace from the txt file. WorkGroup Manager than believes the Mail is not enabled.
    How do I use dscl or a terminal command to enable the user with mail server and to use IMAP Only?
    I do not want to always have to remotely connect to launch Workgroup Manager to enable mail for new users.
    I hope you can help for I am new dscl or even NetInfo command line tools.
    I have tried these, but I guess it does't like how it is being restored into that property.
    dscl . create /Users/test MailAttribute `< mailsettings.txt`
    <?xml version="1.0" encoding="UTF-8"?>
    <dict>
    <key>kAPOPRequired</key>
    <string>APOPNotRequired</string>
    <key>kAltMailStoreLoc</key>
    <string></string>
    <key>kAttributeVersion</key>
    <string>Apple Mail 1.0</string>
    <key>kAutoForwardValue</key>
    <string></string>
    <key>kIMAPLoginState</key>
    <string>IMAPAllowed</string>
    <key>kMailAccountLocation</key>
    <string>192.168.181.132</string>
    <key>kMailAccountState</key>
    <string>Enabled</string>
    <key>kPOP3LoginState</key>
    <string>POP3Deny</string>
    <key>kUserDiskQuota</key>
    <string>0</string>
    </dict>
    I have also tried appending by doing something like this.
    dscl . create /Users/test MailAttribute '<?xml version="1.0" encoding="UTF-8"?>’
    dscl . append /Users/test MailAttribute ‘<dict>’
    dscl . append /Users/test MailAttribute ‘<key>kAPOPRequired</key>’
    dscl . append /Users/test MailAttribute ‘<string>APOPNotRequired</string>’
    dscl . append /Users/test MailAttribute ‘<key>kAltMailStoreLoc</key>’
    dscl . append /Users/test MailAttribute ‘<string></string>’
    dscl . append /Users/test MailAttribute ‘<key>kAttributeVersion</key>’
    dscl . append /Users/test MailAttribute ‘<string>Apple Mail 1.0</string>’
    dscl . append /Users/test MailAttribute ‘<key>kAutoForwardValue</key>’
    dscl . append /Users/test MailAttribute ‘<string></string>’
    dscl . append /Users/test MailAttribute ‘<key>kIMAPLoginState</key>’
    dscl . append /Users/test MailAttribute ‘<string>IMAPAllowed</string>’
    dscl . append /Users/test MailAttribute ‘<key>kMailAccountLocation</key>’
    dscl . append /Users/test MailAttribute ‘<string>192.168.181.132</string>’
    dscl . append /Users/test MailAttribute ‘<key>kMailAccountState</key>’
    dscl . append /Users/test MailAttribute ‘<string>Enabled</string>’
    dscl . append /Users/test MailAttribute ‘<key>kPOP3LoginState</key>’
    dscl . append /Users/test MailAttribute ‘<string>POP3Deny</string>’
    dscl . append /Users/test MailAttribute ‘<key>kUserDiskQuota</key>’
    dscl . append /Users/test MailAttribute ‘<string>0</string>’
    dscl . append /Users/test MailAttribute ‘</dict>’

    Got it to take as a single statement.
    dscl . create /users/test applemail "<?xml version='1.0' encoding='UTF-8'?> <dict> <key>kAPOPRequired</key> <string>APOPNotRequired</string> <key>kAltMailStoreLoc</key> <string></string> <key>kAttributeVersion</key> <string>Apple Mail 1.0</string> <key>kAutoForwardValue</key> <string></string> <key>kIMAPLoginState</key> <string>IMAPAllowed</string> <key>kMailAccountLocation</key> <string>192.168.181.132</string> <key>kMailAccountState</key> <string>Enabled</string> <key>kPOP3LoginState</key> <string>POP3Deny</string> <key>kUserDiskQuota</key> <string>0</string> </dict>"
    Doing the above showed in WorkGroup manager and I tested and the user received a email, so now I can automate adding users without needing the GUI. *Just to note you still have to setup mail services and your virtual, aliases files for postfix. This is just so the user is opened up to be allowed to receive email in the first place.
    I still could not seem to pipe a file into dscl command even though the file was a single line of text. I had planned to embed this in a single command so no big deal.

  • Create user with User ID like A123456.

    Hi,
    We have requirement that all user ID must be starting with alphabet and than appended with six digits like Z345678.
    So, please suggest how can we force in create user page the above restriction. And if user violates this rule we want to generate error message.
    Thanks

    Hi,
    There are two option to achieve the same....
    First one to let the user enter the user id in the fomat, and make the adapter which will check the whether the userid in desired format or not, and if any user voilate that error message will be displayed.
    Just go through the design guide to know more about the erros and how we can put in the adpters.
    Second option, let the user enter any id and genetate the user id through entity adapter under pre-insert as per desired format.
    Let me know if you have any question for the same.
    Regards
    Alabhya Goel

Maybe you are looking for