Dynamically create a user in a package

Hello

I have a request to implement a function that dynamically creates a user and assign specific subsidies.
I have the main script, the problem is that I get a
ORA-01031: insufficient privileges
How can I temporary have privileges to create in my package?

You must grant the privilege of CREATING a USER your owner to function directly, not through the role. Stored (by default) rights define objects ignore roles.

SY.

Tags: Database

Similar Questions

  • Dynamically create a user folder

    Hello
    is it possible to do the following... When a user registers with a Web site, a folder is created automatically under their user name, and so they can store their content their?
    If someone knows some php tutorials on this it would be much appreciated.

    http://www.php.net/manual/en/ref.FileSystem.php ---> investigate the file
    the system features

    There are many examples here to build from.

    --
    Murray - ICQ 71997575
    Adobe Community Expert
    (If you * MUST * write me, don't don't LAUGH when you do!)
    ==================
    http://www.projectseven.com/go - DW FAQs, tutorials & resources
    http://www.dwfaq.com - DW FAQs, tutorials & resources
    ==================

    "meesonator" wrote in message
    News:ghbmoa$AE8$1@forums. Macromedia.com...
    > Hi
    > is it possible to do the following... When a user registers with a website
    > a
    > folder is automatically created under their username, and therefore cannot
    > store
    > content their?
    > If someone knows some php tutorials on this, it would be much
    > appreciated.
    >

  • Time of design and of the dynamically created controls

    I have a project written in VC6 as a project of the MFC dialog box. In a particular area, I dynamically create several (the exact number depends on user input) CNiGraphs. There is also a two CNiButtons that were created at design time using the resource editor. The problem I have is that when this dialog box is open, a message appears saying it is an eval version and the control will go off after 5 minutes. After 5 minutes of waiting, the CNiButtons 2 go inactive (black tower), but the continuous CNiGraphs of work. I have a valid license of MStudio 8.1.6, version but it seems that these 2 buttons do not recognize the license. There are also other buttons from the moment of conception of the project, but these have no problem at all. When you create the dynamic creation of the CNiGraphs, give them a valid license string, and I was wondering if there is a problem with the time created and dynamically controls created in the same dialog box to design. Anyone know?

    I don't remember, but I can have created these 2 CNiButtons when I was with only an eval license. (All others were undoubtedly create when I got a full license) Could have an impact on them? I have a vague memory of reading somewhere that DTC create controls to check the license when they are created in the designer and store that info in them license. If this is the case does anyone know an easy way to update the license stored in control? I rather not just delete it and Add again because I would avoid having to redo the tab order (unless someone knows how to easily insert something in the middle of the order of tab instead of having to click through all the controls in the correct order)?

    In addition, I don't know if this would affect anything, but the project was originally built with ComponentWorks 1.0, we were forced to move to MStudio when we met a few bugs in CW, so all controls were originally CW controls which have been converted into control of CNi. I doubt that this is so like everywhere else, we changed during controls is not a problem, but I'm ready to try the suggestions.

    Hi JC,.

    I hope you had a good weekend!  I'm glad to hear that you're back running.  Add the extra button was, in fact, causing update the licensing information for the other buttons, as you can imagine.  After further research, I found that the license information are stored only the form of the control, and if this control doesn't change in any way (or in your case, adding a new project), he sees no reason when compiling to recreate a link to the license.  However, after the change of control and a new, it updates the link between the license information, which solved this problem in your case.

    I hope this helps, JC.  Have a great day!

  • Creating a container of the package fails on the last stage by renaming the .exe in .dat

    I tried several times to create a package without success. All files seem to have downloaded when I look in C:\Users\MichaelK\AppData\Local\Adobe. There is data here 14.5Gig.

    I get the following.

    25/11/2015 15:20:04 [INFO] AdobePackageBuilder - Build Version - 1.9.2.53

    25/11/2015 15:20:04 [INFO] AdobePackageBuilder - verbosity Logging Level Set of 4

    25/11/2015 15:20:10 [INFO] AdobePackageBuilder - Sucessfully extracted products at D:\Temp\{5B1E86DF-7A0C-4934-89B3-5EBADC1096D9}\ACCCx3_4_0_180

    25/11/2015 15:20:10 [INFO] AdobePackageBuilder - Extraction completed with return code = 0

    25/11/2015 15:20:16 [WARN] AdobePackageBuilder - no file exist at the (D:\Downloads\Adobe CC\CC Install\Build\ASU\Tools\CCC\Uninstall\deploy\remove.xml)

    25/11/2015 15:20:18 [INFO] AdobePackageBuilder - copied the file/folder Installer (packages)

    25/11/2015 15:20:19 [INFO] AdobePackageBuilder - Setup copy file/folder (resources)

    25/11/2015 15:20:19 [INFO] AdobePackageBuilder - copied the file (Set - up.exe)

    25/11/2015 15:20:19 [INFO] AdobePackageBuilder - copied file (payloads\Media_db.db)

    25/11/2015 15:20:19 [INFO] AdobePackageBuilder - copied file (payloads\Media_db.sig)

    25/11/2015 15:20:19 [INFO] AdobePackageBuilder - copied file (payloads\Setup.xml)

    25/11/2015 15:20:22 [INFO] AdobePackageBuilder - copied the file/folder Installer (packages)

    25/11/2015 15:20:23 [INFO] AdobePackageBuilder - Setup copy file/folder (resources)

    25/11/2015 15:20:23 [INFO] AdobePackageBuilder - copied the file (Set - up.exe)

    25/11/2015 15:20:23 [INFO] AdobePackageBuilder - copied file (payloads\Media_db.db)

    25/11/2015 15:20:23 [INFO] AdobePackageBuilder - copied file (payloads\Media_db.sig)

    25/11/2015 15:20:23 [INFO] AdobePackageBuilder - copied file (payloads\Setup.xml)

    25/11/2015 15:20:23 [ERROR] AdobePackageBuilder - cannot rename the path (D:\Downloads\Adobe CC\CC Install\Build\Setup\AME9.0en_GB\Set-up.exe) to the path (D:\Downloads\Adobe CC\CC Install\Build\Setup\AME9.0en_GB\Set-up.dat)

    How can I successfully create a container to the package.

    Have you tried to clear the cache of CCP and try again? Damaged in the cache files can cause errors when building your package.

    Go to the 'Welcome' on the menu drop-down menu > Preferences, then choose "click here to purge the cache folder.

  • Hi friends this is the code for the dynamic creation of user in plsql, but these statements are not run if pls help for this error

    DECLARE

    n NUMBER.

    BEGIN

    n: = 1;

    WHILE (n < = 10)

    LOOP

    CREATE a user EM | IDENTIFIED BY KLU n;

    SESSION CREATION GRANT, GRANT ANY PRIVILEGE TO EM. n;

    COMMIT;

    n: = n + 1;

    END LOOP;

    END;

    Hello

    Here is the dynamic creation of user query and giving grants to the user,.

    DECLARE

    n NUMBER.

    cr_user VARCHAR2 (300);

    gr_user VARCHAR2 (300);

    BEGIN

    n: = 1;

    While (n<=>

    LOOP

    cr_user: = 'CREATE user EM | n | "IDENTIFIED BY KLU";

    gr_user: = "GRANT CREATE SESSION, GRANT ANY PRIVILEGE to EM '. n | '';

    EXECUTE IMMEDIATE cr_user;

    EXECUTE IMMEDIATE gr_user;

    n: = n + 1;

    END LOOP;

    END;

    Edited: Removed when OTHER exceptions to Code.

    See you soon!

  • Assignment of roles to the user when creating the user

    Hi all

    I gave a roll deposited (< dsp:input bean = "ProfileFormHandler.value.roles.role" maxsize = "30" size = "30" type = "text" / > on the registration page.) After registration, each field in db except role (table dps_role).
    Pls let me know what I am doing wrong.

    Thank you

    You should not assign roles to the user as 'ProfileFormHandler.value.roles.role' of 's profile. You can link formhandler property to which you can pass the name or id of the role that you want to assign role assignment must always route through safety ATG API in order to properly update the mappings of Homeland Security. Because of these dependencies, you should not try the role of simply call profile.setPropertyValue ('roles',...) The code cannot fail this way, but if you assign the role in this way then it may not work as expected when checking for role based privileges. Here's one possible way to do it:

    1. in your file properties formhandler declare a dependency on the directory of the default user, which by default points to the profile database:

    userDirectory = / atg/userprofiling/ProfileUserDirectory

    So, in the form Manager, you declare corresponding setUserDirectory() and getUserDirectory().

    2 then in the formhandler, get the DirectoryPrincipal objects associated with the user profile and the role you want to assign and then assign the role to the user:

    import atg.userdirectory.UserDirectory;
    import atg.userdirectory.DirectoryPrincipal;
    import atg.userdirectory.User;
    import atg.userdirectory.Role;
    import atg.userdirectory.DirectoryModificationException;
    
    import java.util.Collection;
    import java.util.Iterator;
    
    ..
    ..
    
    private boolean assignRoleToUser(String roleName, String userId) {
    
      UserDirectory userDirectory = getUserDirectory();
      DirectoryPrincipal userPrincipal = userDirectory.findUserByPrimaryKey(userId);
      DirectoryPrincipal rolePrincipal = userDirectory.getRoleByPath(roleName);
    
      User user = (User)userPrincipal;
    
      Collection collection = userDirectory.getRoles();
    
      boolean status = false;
    
      Iterator iter = collection.iterator();
      while(iter.hasNext())
      {
        Object obj = iter.next();
        if(obj instanceof Role) {
          Role role = (Role)obj;
          if(roleName.equals( role.getName() ) && user!=null) {
            try {
              status = user.assignRole(role);    //will return true if the role was added otherwise false
            }
            catch (DirectoryModificationException e) {
           //handle exception
            }
            break;
          }
        }
      }
      return status;
    }
    

    In the code above 'roleName' parameter is the name of the role to be assigned to the profile with the id as "userId". If you want to do the role assignment when creating the user, then you can do the things above in postCreateUser() so that you can get the Principal associated with the profile. For more information about the interfaces and classes used here, you can refer to the documentation of the API of the ATG.

    http://docs.Oracle.com/CD/E26180_01/platform.94/APIDoc/ATG/userDirectory/package-summary.html

  • batch processing to create the user

    Hello
    I created a table in which all details are stored for the user to migrate in the apex.
    My dynamic action does not create an user.
    Apex 4.1.1
    Kindly help.
     declare
     
     cursor c1 is
         (SELECT xyz.LAST_NAME,
      xyz.FIRST_NAME,
      xyz.MIDDLE_NAME,
      xyz.USER_NAME,
      xyz.EMAIL,
      xyz.MOBILE_PHONE,
      xyz.WORK_PHONE,
      xyz.ORGANIZATION,
      xyz.TITLE,
      xyz.GROUPX,
      xyz.GROUP_ID
    FROM xyz
    
    );
    BEGIN
    
    
    
    FOR r1_xyz_LAST_8MONTHS in c1
    LOOP
    apex_util.create_user(p_user_name => xyz.USER_NAME,
    p_email_address =>xyz.EMAIL,
    p_first_name =>xyz.FIRST_NAME,
    p_last_name => xyz.LAST_NAME,
    p_web_password => 'password',
    p_change_password_on_first_use => 'Y',
    p_group_ids => xyz.GROUP_ID,
    p_attribute_01 =>xyz.MIDDLE_NAME,
    p_attribute_02 => xyz.MOBILE_PHONE,
    p_attribute_03 =>xyz.WORK_PHONE,
    p_attribute_04 =>'',
    p_attribute_05 =>xyz_LAST_8MONTHS.TITLE,
    p_attribute_06 =>xyz_LAST_8MONTHS.ORGANIZATION,
    p_attribute_07 =>sysdate,
    p_attribute_08 =>'system',
    p_attribute_09 =>sysdate,
    p_attribute_10 =>null);
    
    
    
    END LOOP;
    
    
    
    END;
    Published by: Red_Bull on August 26, 2012 14:24

    Red Bull,

    FOR r1_xyz_LAST_8MONTHS in c1
    LOOP
    apex_util.create_user(p_user_name => xyz.USER_NAME,
    p_email_address =>xyz.EMAIL,
    p_first_name =>xyz.FIRST_NAME,
    p_last_name => xyz.LAST_NAME,
    p_web_password => 'password',
    p_change_password_on_first_use => 'Y',
    p_group_ids => xyz.GROUP_ID,
    p_attribute_01 =>xyz.MIDDLE_NAME,
    p_attribute_02 => xyz.MOBILE_PHONE,
    p_attribute_03 =>xyz.WORK_PHONE,
    p_attribute_04 =>'',
    p_attribute_05 =>xyz_LAST_8MONTHS.TITLE,
    p_attribute_06 =>xyz_LAST_8MONTHS.ORGANIZATION,
    p_attribute_07 =>sysdate,
    p_attribute_08 =>'system',
    p_attribute_09 =>sysdate,
    p_attribute_10 =>null);
    
    END LOOP;
    

    If it should not be:

    FOR r1_xyz_LAST_8MONTHS in c1
    LOOP
    apex_util.create_user(p_user_name => xyz_LAST_8MONTHS.USER_NAME,
    p_email_address =>xyz_LAST_8MONTHS.EMAIL,
    p_first_name =>xyz_LAST_8MONTHS.FIRST_NAME,
    p_last_name => xyz_LAST_8MONTHS.LAST_NAME,
    p_web_password => 'password',
    p_change_password_on_first_use => 'Y',
    p_group_ids => xyz_LAST_8MONTHS.GROUP_ID,
    p_attribute_01 =>xyz_LAST_8MONTHS.MIDDLE_NAME,
    p_attribute_02 => xyz_LAST_8MONTHS.MOBILE_PHONE,
    p_attribute_03 =>xyz_LAST_8MONTHS.WORK_PHONE,
    p_attribute_04 =>'',
    p_attribute_05 =>xyz_LAST_8MONTHS.TITLE,
    p_attribute_06 =>xyz_LAST_8MONTHS.ORGANIZATION,
    p_attribute_07 =>sysdate,
    p_attribute_08 =>'system',
    p_attribute_09 =>sysdate,
    p_attribute_10 =>null);
    
     END LOOP;
    

    Robert
    http://apexjscss.blogspot.com

  • function defined by the user in the package

    Hi all

    is it possible to return a value greater than 1 when you use the function defined by the user in the package?

    You must declare variables US1 and US2 as well. I also modified your code a little more assing numbers directly rather than using select.

    First of all,

    Your package body and specifications should have the same input parameter names. Your spec is seen cid and your body with ccid. Has changed.

    CREATE OR REPLACE PACKAGE creator.marco_function_clienttype
      IS
    
      -- 0 - not found
      -- 1 - small business
      -- 2 - corporate
      -- 3 - individual
    
       FUNCTION f_clienttype
         (ccid number
         )
         RETURN NUMBER;
    END;
    / 
    
    CREATE OR REPLACE PACKAGE BODY creator.marco_function_clienttype
    IS
    
    FUNCTION f_clienttype (ccid NUMBER)
       RETURN NUMBER
    IS
       us    NUMBER;
       us1   NUMBER;
       us2   NUMBER;
    BEGIN
       --officialtype = 2 - corporate, officialtype = 3 - individual
       SELECT ct.officialtype
         INTO us1
         FROM contragenttype ct, contragent d
        WHERE d.ID = ccid
          AND ct.cid = d.contragenttypeid;
    
       ---
       IF us1 = 3
       THEN
          us    := 3;
       ELSE
          --ENTERPRISETYPE.id = 910 - small business
          SELECT dd.enterprisetypeid
            INTO us2
            FROM contragent dd
           WHERE dd.ID = ccid;
    
          IF us2 = 910
          THEN
             us    := 1;
          ELSE
             us    := 2;
          END IF;
       END IF;
    
       RETURN NVL (us, 0);
    END;
    END;
    / 
    

    G.

  • Dynamically create headphones...

    Hello

    I have an external swf that I load into Flash and try to achieve communication between the swf file and the charger of the parent.

    In the external swf file, I have a series of events, they are preparing based on that frame the user is enabled, i.e.:

    dispatchEvent(new Event("1"));
    dispatchEvent(new Event("2"));
    dispatchEvent(new Event("3"));
    

    I am trying to create a generic listener function that will add several eventListeners to the scene based on an arbitrary number that will listen to turn for the events that they are preparing the external SWF, as follows:

     function ListenForNavFromExternalAsset(sectionLength:int):void
    {        
        for(var i:int = 0;i<sectionLength;i++)
        {
            var screenNum = '"' + i + '"';
            stage.addEventListener(screenNum, NavToScreenFromExternalAsset, false, 0, true);
            trace(screenNum);
        }
    }
    

    I can see followed by the screen, so I know that the service is running.

    However, clearly, the events are not added to the scene because I never see the traces below, even if the external swf is no doubt sending its events:

    function NavToScreenFromExternalAsset(e:Event):void
    {            
        trace("ADDED_TO_STAGE");
        if(e == Event("1"))
        {
            trace("NavToScreenFromExternalAsset: ONE");
        }
        else if(e == Event("2"))
        {
            trace("NavToScreenFromExternalAsset: TWO");
        }
    //etc..
    }
    

    There must be a better way to do what I'm not aware of, I had a lot of success in the past using dispatchEvent and capture the event, but I don't know how to dynamically create headphones and listen to a dynamic channel.

    If anyone can suggest a way forward, I would be much obliged.

    Thx for reading,

    ~ Chipleh

    Hi Ned,.

    Thank you very much for the reply and oooh, it looks nice, I'll put it in my Pocket Flash for future use.

    After a lot of writing and rewriting and realize (as usual) I was overloading the question, I came up with it, that solved my problem:

    In one of my functions running, I create the number in which I want to listen to

    Add it to the event listener

    for (var i: int = 0; i<>

    {

    var thisScreen:String = String (i + 1); ([/ /, false, false, 1]);

    addEventListener (thisScreen, NavToScreenFromExternalAsset, true);

    }

    Then in the event listener, I get the event type, apply it to my screenCount variable,

    my function call and I'm good to go

    function NavToScreenFromExternalAsset(e:Event):void

    {

    screenCount = int (e.type) - 1;

    DisplayLessonScreenContent();

    }

    However, that being said, the custom event class that you posted is much more elegant, where the solution is just a simple hack. Anyway, thanks for your message of Ned and a lot of satisfaction to you, my friend.

    ~ Chipleh

  • Is it possible to use a statically defined appearance streams in a dynamically created annotation?

    Hello

    I want to create a document with cascade "popups".  Not the popup only integrated text, but an annotation that contains a stream of appearance that sets the text and images.  I am currently using widget annotations based on a push button field.

    Each page of my document has many citations referring to other pages in the document.  When a user hovers over the quote, I want a "popup" appear containing a representation of the destination.  However, as the destination itself will be quotes, I also want the "popup" to contain citations that the user can fly over, triggering another popup, etc.  In this way, a user can navigate the entire document without leaving the page, or by clicking the mouse.

    Of course, with even a small number of citations per page, pre calculation and statically define all these widgets causes a combinatorial explosion, making it slow and very large document.

    Instead, I want to statically define workflow appearance once per document, and then dynamically create annotations and affect the seemingly appropriate flow using JS when the user navigates.

    So far, I created an access point named in the dictionary of names, but I was not able to use it to dynamically set a dynamically created the appearance of a widget annotation workflow.

    Also, I called Doc.getIcon (), passing the AP named, which returns an Icon object.  However, after field.buttonSetIcon () and passing the AP named, the button does not appear the icon.

    Is it possible to use a statically defined appearance streams in a dynamically created annotation?

    Thank you

    Dave

    Using getIcon/buttonSetIcon must work, but you must make sure that the button is set up that it be set in page is not 'Label Only.

    Also, it is best to store the icons of hidden buttons and recover them with buttonGetIcon due to a bug that causes the icons at the level of the document get wiped out when performing a save as operation file.

  • How can I mount types defined by the user of the package?

    I have two types of similar packages (gt_Teste) in two different packages.

    How can I mount types defined by the user of the package?
    (I shouldn't want to made a new statement va_Teste2 pkgl_lu2.gt_teste due to the desire to increase memory allocation)

    ------------------------------------------------------------------------------------------
    -ANONYMOUS BLOCK
    ------------------------------------------------------------------------------------------
    declare
    va_Teste pkgl_lu1.gt_teste;
    va_Teste2 pkgl_lu2.gt_teste;
    Start
    --
    pkgl_lu1.prcl_init (va_Teste);
    pkgl_lu1.prcl_print (va_Teste);

    +/*
    -I don't want to do it because of memory allocation:
    Because me in va_Teste.First... va_Teste.Last loop
    va_Teste2(va_Teste2.Count+1): = va_Teste (i);
    End loop;
    */+

    pkgl_lu2.prcl_print (CAST (va_Teste AS pkgl_lu2.gt_Teste));
    end;
    /

    ------------------------------------------------------------------------------------------
    -PACKAGE PKGL_LU1
    ------------------------------------------------------------------------------------------
    create or replace package pkgl_lu1 is
    type gt_teste is table of index varchar2 (100) by simple_integer;

    procedure prcl_init (pi_teste in out nocopy gt_teste);
    procedure prcl_print (pi_teste gt_teste);
    End;
    /

    create or replace package body is pkgl_lu1
    ---------------------------------------------
    procedure prcl_init (pi_teste in out nocopy gt_teste)
    is
    Start
    pi_teste (pi_teste.count + 1): = 'A ';
    pi_teste (pi_teste.count + 1): = 'B ';.
    pi_teste (pi_teste.count + 1): = 'C ';
    pi_teste (pi_teste.count + 1): = ';
    end;
    ---------------------------------------------
    procedure prcl_print (pi_teste gt_teste)
    is
    Start
    I'm in pi_teste.first... pi_teste. Last loop
    dbms_output.put_line (pi_teste (i));
    End loop;
    end;
    End;
    /

    ------------------------------------------------------------------------------------------
    -PACKAGE PKGL_LU2
    ------------------------------------------------------------------------------------------
    create or replace package pkgl_lu2 is
    type gt_teste is table of index varchar2 (100) by simple_integer;
    va_teste gt_teste;

    -procedure prcl_init (pi_teste in out nocopy gt_teste);
    procedure prcl_print (pi_teste gt_teste);
    End;
    /

    create or replace package body is pkgl_lu2
    procedure prcl_print (pi_teste gt_teste)
    is
    Start
    I'm in pi_teste.first... pi_teste. Last loop
    dbms_output.put_line (pi_teste (i));
    End loop;
    end;
    End;
    /

    I see, well it's unfortunate bloody.

    Ideally you would have a package (utility package or something) with objects like that, that can be shared between the development environment, unless you never have an interface code (each package is entirely distinct from all other packages, and honestly, it's not likely to happen).

    I guess that your only option (I think) If you are concerned with memory usage would be to remove the table while assigning a new.

    For i In va_Teste.First..va_Teste.Last
    Loop
      va_Teste2(va_Teste2.count+1) := va_Teste(i);
      va_Teste.DELETE(i);
    End Loop;
    
  • TopLink - dynamically create session connection?

    Hi all
    How can PLS, I dynamically create the connection to the database?
    I use toplink workbench and in this step 6: [http://www.oracle.com/technology/products/ias/toplink/doc/11110/tutorial/intro/standalone/intro_tutorial010.htm#CIHIHIFF] I do not check "save the Login and password"...
    If I put the password and static user, everthing works fine, bud I need dynamically created connection... my code is:

    + createSession() protected Sub throws Exception {+
    System.setProperty ("toplink.xml.platform", "oracle.toplink.platform.xml.jaxp.JAXPPlatform");
    XMLSessionConfigLoader loader = new XMLSessionConfigLoader (getSessionsXmlPath ());
    Bishop SessionManager = oracle.toplink.tools.sessionmanagement.SessionManager.getManager ();
    session.setLogin (applyLogin ());
    session = (ServerSession) mgr.getSession (loader, getSessionName(), Thread.currentThread () .getContextClassLoader (), true, true);
    +}+

    + private DatabaseLogin applyLogin() {+
    DatabaseLogin connection = new DatabaseLogin();
    login.usePlatform (new oracle.toplink.platform.database.oracle.Oracle8Platform ());
    login.setDriverClassName ("oracle.jdbc.OracleDriver");
    login.setConnectionString ("path"); JDBC:Oracle:thin:@host:port:SID - path is OK (but SECRET) :-)
    login.setUserName ("user"); USER NAME - user is OK, but hawa ;-)
    login.setEncryptedPassword ("pass"); PASSWORD, ENCRYPTED password is OK ;-)
    Returns the user name;
    +}+

    but he always returns java.lang.NullPointerException! If I set password and user of TopLink workbench, if it works...

    Any ideas, how to configure Java connection, pls?

    SRY for my English...

    Thanks in advance!
    BES cordially, KLD

    Your session variable has the value null until you attribute to him, so you can not call a method on it.

    Try,

    session = (ServerSession) mgr.getSession (loader, getSessionName(), Thread.currentThread () .getContextClassLoader (), false, true);
    session.setLogin (applyLogin ()); \
    session. Login());

    Means that the fake is not to identify the session.

    ----
    James: http://www.eclipselink.org

  • 5.1.7 server on El Capitan: create a user with a personalized folder location

    I've recently upgraded to El Capitan on my server once an apple advisor told me that 5.1.7 server had a bunch of bug fixes for Open Directory(which I plan on using down the road). Given that the Working Group Manager is not compatible with 10.11...

    Is there a way to create a user with a personalized folder location? When I create a user on the server, I can choose to create a home folder, with or without limitation in the disc or make the service of the user only. My problem is that I have no way (that I know) in the window of creating user to change the location of this folder.

    I tried to create a model of a user with a basic 'tailor-made' folder location (Volume/promised Pegasus/Home 2016 / etc...) but when I create the user, the home folder is not in the specified path.

    The "work around" I found for this batch of user is to create in the default location then move them on my raid Promise Pegasus, change the path to the advanced option to the each user and reassign the appropriate permissions.

    It is not so much a problem if I would deal with users 10. But I have to manage/create about 130-150 users every 5-6 months.

    I guess that there is an easier way to create a user with a custom home folder location. It would make sense that apple removes the Workgroup Manager and does not replace its characteristics.

    Best case scenario is that I do evil and do not hesitate to let me know if this is the case!

    Thank you

    Francis

    I may be wrong, but it seems that Workgroup Manager version 10.8 works under El Capitan: I can certainly start the application and query users / groups that are there.  I guess maybe it's on the machine as a rest to be updated periodically since days Lion... but it also shows that if you can find a copy, you may be able to run on your machine.

    HTH

  • 'create file user.js in profile directory' to add the user prefs to enable Mozilla Rich Text editing

    The message of ff for me, is "to protect users information, unprivileged scripts cannot invoke the commands cut, copy, and paste in the Mozilla rich text editor... to activate these features, you must change your browser preferences... "This is an online course. In discussion forums and editing my post for answers - when you slide on a sentence, then rt clk for copy/cut/paste edit options - this is when I get the message to follow the instructions to create a user.js file in my profiles. I followed the instructions to "Change preferences in Firefox" to create a user.js file (didn't have any) to add the features described and specific for this site (which is an .edu site). Since had a "user.js" file open in a text editor to create one I RT. CLK, given 3 options of text document type, choose 'doc RTF' typed then required lines of preference user, saved as .rtf, ff, closed, reopened, returned on the forums of the school, tried the same editing options, but got the same answer. After leaving completely, returning my profile the user.js file, I thought I did wasn't there. I scrolled a lot a lot of useful articles, comments etc here, but nothing specific to this type of file in the profiles? In these instructions, step 3 "open file user.js from this directory in a text editor. "If there is no user.js file, create a. That's what I have to do. Then I'll be ready for the step 4 yay! Thank you.

    As soon as you click on the selected text, the site displays a message about changing the settings of your?

    On this site, you can use the standard Windows keyboard shortcuts for cut, copy and paste: Ctrl + x, Ctrl + c, Ctrl + v?

    If so, I suggest to do this.

    Alternatively, you can the websites stops to replace the context menu showing always menu of Firefox. This can be a bit annoying on certain cases, such as Google Maps, where menu Firefox allows you to hide menu Google. When this happens, you can usually press ESC to remove the Firefox menu and use the site menu. If you want to change this, here's how:

    (1) in a new tab, type or paste Subject: config in the address bar and press ENTER. Click on the button promising to be careful.

    (2) in the search above the list box, type or paste the context and make a pause so that the list is filtered

    (3) double-click the preference dom.event.contextmenu.enabled from true to false.

  • Create a user admin for backup

    Hi all

    I have a Macbook and I was wondering if I could create a user to admin level which would have all programs on my Mac so that if I were to have to delete my user and all connected to the user, I would have this user "admin" who will have all the programs in my mac and be able to recreate my user.

    I know I'm probably going to lose my documents and other things like that, but for those who I have a backup on my HARD drive.

    With respect to the time Machine, I started to make backups a little late, and I'm looking for is more than a user who has access to all programs without having to remember which version of my time machine this program was in.

    Thank you and best regards

    I think you just want to add a new user in the preferences system/users and groups , with perhaps an administrator name and define the type of Standard to administrator. This extra admin account has the same access to your applications as any other user.

    This way you have another administrator account in the case where your are messed up somehow and you need an admin account.

Maybe you are looking for