Scritps to create new group in portal

Hi, anyone knows where can i get a script to create new groups in portal?
I found very good script on Metalink doc.id. 258751.1 for creating users. Does exist something like that but for groups?
Thanks.

Yes we have build a set of API's to create groups, add members to groups etc using wwsec_api.If you need further details post your email id and can provide additional details.

Similar Messages

  • Scritps to create new user in portal

    Hi, anyone knows where can i get a script to create new users in portal?:
    add new user, add user in groups, set default group
    i've been trying to insert in the tables WWSEC_PERSON$ and WWSEC_FLAT$ but i couldnt get to see the user in portal application though its the tables. i guess i am forgetting some table (like something in the SSO)...
    Thanks
    Daniel Perez
    SJD

    Well, actually the api also adds the user to the group, but obviously, there's something that portal does when you add it manually that we are missing in the api, and that's what i need to discover.
    The code in the api, related to default group, is:
    /*In FUNCTION ldap_create_user */
    IF p_default_group is not null then
    BEGIN
    group_array := DBMS_LDAP.create_mod_array(14);
    user_vals(1) := 'cn=' || lower(p_default_group) || ',' || group_id;
    DBMS_LDAP.populate_mod_array (user_array, DBMS_LDAP.MOD_ADD, 'orcldefaultprofilegroup', user_vals);
    user_vals.DELETE;
    group_vals(1) := 'cn=' || p_oid_id || ', cn=users, ' || ldap_base;
    DBMS_LDAP.populate_mod_array(group_array, DBMS_LDAP.MOD_ADD, 'uniquemember', group_vals);
    group_vals.DELETE;
    retval := DBMS_LDAP.modify_s(user_session,'cn=' || lower(p_default_group) || ',' || group_id, group_array);
    DBMS_LDAP.free_mod_array (group_array);
    END;
    END IF;
    /*In FUNCTION portal_create_user*/
    IF p_default_group is not null then
    BEGIN
    wwsec_api.set_defaultgroup (p_groupid => wwsec_api.group_id (p_default_group),
    p_username => p_username);
    l_id := wwsec_api.id_sso(p_username => p_username);
    END;
    END IF;
    If i try to add the user to the group anyway with add_user_to_list:
    wwsec_api.add_user_to_list(p_person_id => wwsec_api.id(p_username),
    p_to_group_id => wwsec_api.group_id(p_default_group),
    p_is_owner => wwsec_api.NOT_OWNER);
    I get a User Defined Exception.
    I also can see the user in the list of members for the group and the group as the default group for the user in his profile.
    Anyway i still get the same message when trying to log in:
    Error: You do not have permission to perform this operation. (WWC-44131)
    Message was edited by:
    dani_sjd
    Message was edited by:
    dani_sjd

  • Problem with creating new user in portal = portlet is not visible

    Hi,
    I've got a problem with creating new users in portal. In the Administer tab of the builder is the user portlet not visible.
    How can I make this portlet visible?
    Please Help
    thank you...
    Gilbert

    Hi..my problem slightly similar.
    I created one new user, and didn't select anything from "Public Groups Assignment" and "Privilege Assignment" for him.
    I expect the user will be a public user.
    But, when he try to logged in the portal,
    He cannot see all the PORTLETS related to database values..
    All he can see just LINKS -that all in my portal right now beside the report from database that the user cannot see :)
    So, what did i do wrong?
    Plz Advise, and thanks.

  • How to create  user groups in portal

    Hi
    I am new to portal..can any one explain how to create a group and add the users to that group.
    Thanks
    Rahul

    Hi
    Go to  "user administration"-> Identitiy management place "Groups" in the Search Criteria then you will see the options for creating NEw Group
    at the time of Group creation there is a tab for Assigned users from there you can add users.
    Or you select the user name and click on modify and select Assigned groups and assign your group.
    Regards,
    Mahesh

  • How do you create new groups within Contacts on the iPad?

    Can you create new groups within Contacts directly from the iPad, iPhone,or do you have to do it on the computer first?

    The easiest way is to get the app called group e mail.  There are a couple of others as well.  There is a way to do it on your computer, and sync it, but I find that personally frustrating.  :).  Save yourself the aggrevation, and get the app, that works pretty well.

  • Do I need to create new group for standby redo log files?

    I have 10 group of redo log files with 2 members for each group for my primary database , Do I need to create new group for standby redo log files for the standby database
    Group#     Members
    ==============
    1              2
    2              2
    3             2
    4             2
    5             2
    6             2
    7             2
    8             2
    9             2
    10           2
    If So, The following statment is correct? or nto
    ALTER DATABASE ADD STANDBY LOGFILE GROUP 1 ('D:\Databases\epprod\StandbyRedoLog\REDO01.LOG',D:\Databases\epprod\StandbyRedoLog\REDO01_1.LOG');
    please correct me if am doin mistake
    becuase when I issue the statment I getting error message sayin the group is already created.

    Thanks John
    I just find the answer
    Yes, it's recomeded to add new group , for instnace If I have 10 group from 1 to 10 then the standby shoudl be from 11 to 20
    Thanks I found the answer.

  • Created New Group but cannot Search User

    Hi,
    I have created new group, added the required menu, I can see the Search User Form, but when I tried to search ALL or certain user there's no user(s) found.
    Any settings or permission required forthis group?
    Thank you very much.

    If you are trying to search for users, you need to make sure your user who is searching has access to the Organization.
    Go to manage organizations, select the organization, select the Administrators option from the drop down, and then add the group you want to give writes to. Then all users in that group can perform searches for users within that organization.
    -Kevin

  • Do i have to login as orcladmin to Create New Groups

    Do i have to login as orcladmin to Create New Groups and users... because I am unable to add members to the new groups i am trying to create.

    Hi Anna,
    Any user, who is a member of this group, can create Groups in OID :-
    cn=OracleDASCreateGroup,cn=Groups,cn=OracleContext
    By default, cn=orcladmin ( the SuperUser ) and a few other internal application users are members of this group.
    Regards,
    Sandeep

  • Create new group Like "sites" in Central Admin

    Hi,
    How can we create new group like sites in Central admin to create in site collection?
    While creating site collection, we have an option to to create site collection in root or under Sites. How can we add custom group"Coll" in that dropdown. so i can create site collection under my custom name "Coll"
    Ex: http://test:1234/sites/<<Name>>
    Same as instead of sites , how can we create custom name to that dropdown?
    DVGR, SharePoint Developer

    - Go to the Web Application -> Manage web applications
    - select the web application you want to create new managed path
    - click on 'Managed Paths' from the ribben
    - Add 'Coll' as a Managed path and Type : 'Wildcard inclusion' and click 'Add Path'
    - then when you go and crate a new site collection under that web application you will see 'coll' as a managed path
    get2pallav
    Please click "Propose As Answer" if this post solves your problem or "Vote As Helpful" if this post has been useful to you.

  • Cannot create new form in portal

    hello
    i have a problem creating a form in portal!
    i log in portal with the username orcladmin, then i click on builder -> navigator -> providers -> open(any provider) -> create new form (or report or chart)
    i get the error in internet explorer The page cannot be found (link =http://marpolas.marpol.si:7783/pls/portal/PORTAL.wwexp_api_engine.create_action)
    in netscape the error is a little different
    The requested URL /pls/portal/PORTAL.wwv_menu.menu was not found on this server.
    it is imposible for me to create new forms in portal.
    Any ideas?
    thanks in advance
    Marjan
    p.s
    i use portal on windows 2000 server, 1800mhz and 1gb ram

    Sounds like a problem with the privileges.
    Try creating a new user, say user_temp, and grant the user Manage privilege to All Portal DB Providers and Manage to All Schemas.
    Try creating a form after logging in as user_temp.
    The minimum privileges required to create a Portal DB provider component is Create privilege on the Portal DB Providers and Manage on the Portal DB Provider schema.

  • Hi, I've used four different Groups when emailing for the past few years, and suddenly they have stopped working. I've tried creating new Groups but that doesn't work either. I haven't changed or done anything different and it is driving me mad......

    Hi, I've used four different Groups when emailing for the past few years, and suddenly they have stopped working. I've tried creating new Groups but that doesn't work either. I haven't changed or done anything different and it is driving me mad......can anyone help, please?!

    Thanks for that information!
    I'm sure I will be calling AppleCare, but the problem is, they charge for the phone calls don't they? Because I don't have money to be spending to be on the phone with a support service.
    In other things, it seemed like the only time my MacBook was working was when I had Snow Leopard without the 10.6.8 update download that was supposed to be done to prepare for OS X Lion.
    When I look at the information of my HD it says that I have 10.6.8 but that was the install that it claimed to have failed and caused me to restart resulting in all of the repeated problems.
    Also, because my computer is currently down, and I've lost all files how would that effect the use of my iPhone? Because if it doesn't get fixed by the time OS 5 is released, how would I be able to upgrade?!

  • How to create master group in Portal - Segment Builder?

    Hi All,
    May i know how to create master group by using existing target group in segment builder PCUI in portal?
    I manage to do it in sapgui:
    tc: crmd_mktseg_mgr -> create new master group -> assign existing target group -> execute button -> master group is created.
    I tried in portal: click on segment builder tab -> search existing profile set -> open existing profile set -> click on target group tab -> mark one of target groups -> click on Master group button -> save changes -> go back to sapgui crmd_mktseg_mgr -> search for all the master groups -> i dun see result that i did in portal.
    Can guide me on this?
    Appreciated your guide. Thanks.
    Regards,
    wyee

    Hi All,
    May i know how to create master group by using existing target group in segment builder PCUI in portal?
    I manage to do it in sapgui:
    tc: crmd_mktseg_mgr -> create new master group -> assign existing target group -> execute button -> master group is created.
    I tried in portal: click on segment builder tab -> search existing profile set -> open existing profile set -> click on target group tab -> mark one of target groups -> click on Master group button -> save changes -> go back to sapgui crmd_mktseg_mgr -> search for all the master groups -> i dun see result that i did in portal.
    Can guide me on this?
    Appreciated your guide. Thanks.
    Regards,
    wyee

  • Portal Runtime Error while creating  new system in portal content

    Hi
      Can anyone  solve my problem, i am geting error while creating new system in p ortal content
    Portal Runtime Error
    An exception occurred while processing a request for :
    iView : pcd:portal_content/com.sap.pct/admin.templates/iviews/editors/com.sap.portal.templateSelection
    Component Name : com.sap.portal.admin.templateselectionwizard.default
    com/sap/portal/iviewserver/cache/OClass.
    Exception id: 11:29_26/12/06_0014_5891950
    See the details for the exception ID in the log file

    Hi,
    Check this link for creating system object
    http://help.sap.com/bp_epv260/EP_EN/documentation/EP/N03_BB_InstallGuide_EN_US.doc
    Regards
    Arun

  • How to create new groups (list) for storing user's data?

    Hi,
    I'm using cq-5.4 and I was undertaking the campaign management tutorial which explains about how to send out a weekly news letter. As a part of that I was creating a sign up form for subscribers to fill out. So after filling up that form, user's data would get stored somewhere and eventually that data will be used while sending out the weekly news letters to him.
    This was the link I was referring to for that,
    http://dev.day.com/docs/en/cq/5-4/wcm/campaigns.html#Create a Sign Up Form
    So on that link, the 3rd screenshot talks about how to set the form action. They have for example set the form action to 'Create and Update Account' and accordingly under 'Action Configuration', 'geometrixx newsletter' is assigned as the 'Initial Group'. But they never talked about how to create the 'geometrixx-newsletter' group? Where to create that group etc. Hence, after completing the form when I press submit, nothing happens. In reality whatever data I entered should've got stored in the 'geometrixx newsletter' group.
    So that is the place where I'm stuck. Can someone tell me how and where should i create this group?
    Thanks!

    Hi,
    Thank you for posting the screen shots I have been unsuccessful in determining exactly where the problem is coming from. Would it be possible for you to post the actual VI so that I can work with it so see if I can reproduce this issue using your code? In regard to your questions:
    1.    You are correct 1000 samples read should write 1000 samples to the table
    2.    I believe the discrepancy is due to amount of manipulation done between the read and the file write but I cannot be certain, without the code to work with.
    3.     I am unclear as to exactly what is happening. If you are reading empty channels then you may receive erroneous readings this is to be expected. When you connected your accelerometer did you connect in RSE or differential? You can also manipulate the signal range with will affect the gain setting, how off are the readings?
    JaceD
    Signal Sources Product Support Engineer
    National Instruments

  • Problem in creating new group in LDAP

    Hi,
    When I create a new group in the ldap, the groups is getting created with
    Common name : tstCompA
    javaclassname : javax.naming.directory.BasicAttributes
    javaserializeddata : [Binary]
    objectClass : top
    Why are these attributes getting created...pls find the attached code snippet
    Regards
    Jeyanth
    ######################## Code #####################
    public void create()
              String compName = "ABC"
              Hashtable env = new Hashtable();
              env.put(Context.INITIAL_CONTEXT_FACTORY, CONTEXT);
            env.put(Context.PROVIDER_URL, HOST+"/ou=companies,o=tom.com");
            env.put(Context.SECURITY_AUTHENTICATION,"simple");
              env.put(Context.SECURITY_PRINCIPAL,"uid=xyz,ou=people,o=tom.com");
              env.put(Context.SECURITY_CREDENTIALS,"wew23");
              env.put(Context.REFERRAL, "ignore");
                     try {
                          DirContext ctx2 = new InitialDirContext(env);
                          Attribute objclass = new BasicAttribute("objectclass");
                       objclass.add("top");
                       Attribute cn = new BasicAttribute("cn", compName);
                       Attributes attrs = new BasicAttributes(true); // case-ignore
                       attrs.put(objclass);
                       ctx2.bind("cn="+compName, attrs)
                       ctx2.close();
                       System.out.println("Bind Successfull 33333");
                   } catch (NamingException e) {
                        // TODO Auto-generated catch block
                        e.printStackTrace();
                   }

    These attributes are created when you have the context binded to these attributes, also known as schema objects. There is a root object called top. The other objects are inheriting one after another in a successive order from the "top". Correct me if I'm wrong but I've seen similar behavior across all contexts.

Maybe you are looking for

  • How to call custom API in ODI

    Hi All,how to call custom API in ODI and how can multiple people run the scenario at same time. I explained my process below 1. Through ODI console pass parameter (file name) to scenario and read the file form configured location 2. Insert the data f

  • Iphone 4 white... weird on the gallery.

    Hi guys, I don't know if you see it, but there is a reel weird artefact on the front face on the Iphone 4 white (On the middle top), in the apple gallery page. You can see that the black one doesn't have it. Any idea what it could be? I'm watching ri

  • Open library6.iphoto in new iPhoto version!

    I had a full iPhoto library on my old laptop. It is backed up onto my external hard drive. I want to get those photos onto my new laptop (which is running the latest version of everything) but i can't get the "library6.iphoto" file to open in my iPho

  • I need to create a simple form and have it submitted to Paypal...

    Hello all, I need to have visitors go to my website, register and then pay for a seminar at my church. I know how to create a form; but I need to know how to create a form that will register and pay for the event. The payment will go to Paypal, which

  • 8-second wait for Finder window on new Mini!

    Having bought a new Mac Mini (2.6GHz Intel Core i5 and 8GB RAM) last week, I have made a quantum leap from Os 10.5.8 on a 7-year-old iMac to Yosemite and I'm rather shocked by how much slower the Yosemite Finder is. The most extreme example so far is