Is there a howto for programmatically adding users and groups

Hi. I'm using WLS 7.0 SP2, and I'm trying to find docs/howtos to
programmatically add users and add them to groups. But unfortunately I must
be looking in the wrong places, cause I can't seem to find any straight
forward code. I've found some in a book called "J2EE Applications and BEA
Weblogic Server" (the white book with the race car on the front) but that
code is deprecated and for wls 6.1. I would like to find something as
straight forward as they have in their security section.
Can anyone help? Thank you in advance.

"Flip" <!no_spam![email protected]> wrote in message
news:[email protected]..
Hi. I'm using WLS 7.0 SP2, and I'm trying to find docs/howtos to
programmatically add users and add them to groups. But unfortunately Imust
be looking in the wrong places, cause I can't seem to find any straight
forward code. I've found some in a book called "J2EE Applications and BEA
Weblogic Server" (the white book with the race car on the front) but that
code is deprecated and for wls 6.1. I would like to find something as
straight forward as they have in their security section.
Can anyone help? Thank you in advance.
See the UserEditor and GroupEditor MBeans documentation. There have also
been some
posts in this news group with example code.
http://e-docs.bea.com/wls/docs81/javadocs/weblogic/management/security/authe
ntication/UserEditorMBean.html
>

Similar Messages

  • Adding users to groups

    Hi,
    can any one share documents/resources pertaining to how to create sap user groups in BOE.
    how to add groups to users.
    how to import sap users.
    etc

    Hi,
    You can find the product documentation here:
    http://service.sap.com/~form/sapnet?_SHORTKEY=01100035870000713358&_SCENARIO=01100035870000000202&
    Specifically, go to the "Integration for SAP Solutions" section and take a look at the Installation and Administration guide:
    https://websmp210.sap-ag.de/~sapidb/011000358700000559912010E/xi31_sp3_bip_sap_inst_en.pdf
    As far as adding users and groups to the system, this is down through the CMC.  The Business Objects Enterprise Administrators guide should help you with these tasks: 
    http://help.sap.com/businessobject/product_guides/boexir31SP3/en/xi31_sp3_bip_admin_en.pdf
    To add users/groups to the BOE system, you have to go into the CMC/Authentication section and click on the SAP tab.  In here, you configure your SAP system information and add the groups that you wish to import into BOE.  Once you add the groups through here, the user accounts and groups will be mapped in to the Users and Groups section of the CMC.  From here, you can treat them like any other group in the system.
    You add users to the SAP groups the same way you would for BW or any other SAP product.  If a new user is added to an SAP group that is imported into BOE, then that user will be able to logon to the BOE system.
    We also have many notes on these subjects. 
    thanks
    Jonathan

  • Error when opening User and Group Preferences

    After upgrading to Lion there is an error when opening User and Group Preferences.
    I´ve repaired permissions but the problem is still there...
    Thanks...

    Hi,
    Double click on ur webdynpro application.Go to application properties tab.create new application property,select predefined property->browse->it will open a popup->select expiration time->give the value for expiration time.
    or
    Refer the note : [842635|https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=842635&nlang=EN&smpsrv=https%3a%2f%2fwebsmp206%2esap-ag%2ede]
    Hope it helps,
    Reward points if helpful.
    Regards,
    Shailesh Nagar

  • Manage users and groups on 10.5 client like 10.5 server?

    can anyone recommend software for managing local users and groups on 10.5 client? we only need filesharing and don't need the added expense of OS X Server.
    thanks

    oh, right. we can add users with the File Sharing pref pane and can add groups under the Accounts pref pane.
    i'm assisting a friend reconfigure a 'server' (os x client box) that was damaged.
    i'd like to create a new group and then add a handful of users to that group for filesharing. these users don't really need to access the mac for local login.
    they are using Windows Vista from the clients and the way it's set up now, if a user connects and modifies/creates a file, no one else can then modify the file. we have to run chmod on the file/directory for everyone to be able to change it. i'd like to configure it so the permissions work correctly without having to do this.

  • Is there a way for a form user to load graphics and text in same field?

    I am aware that you can load text into a text field and graphics into an image field.  However, I would like to load a document containing text and graphics (e.g., MS Word or RTF) into a single field on a PDF form.  Is there any way to do this?

    Paul,
    I believe that the example of attaching a file that you have provided will solve the problem.  I am using LiveCycle Designer, so using the code that is in your example should be no problem.  The end-user will use Adobe Reader, so as you mentioned, I will use Acrobat to extend the features so that the form can be used by Reader.
    Thanks so much for your help,
    Daniel
    From: pguerett <[email protected]>
    To: Daniel Beinart <[email protected]>
    Sent: Monday, April 25, 2011 3:03 PM
    Subject: Re: Is there a way for a form user to load graphics and text in same field?
    It is part of the PDF AcroForm side of things .....Are you using Reader or Acrobat to fill the form. If Reader then you will have to Reader Extend to make this work ....if Acrobat then you simply need to add some code. I have attached a sample that shows you how to do it if you want it.
    Paul

  • WINDOWS 8.1 - System Tools no longer displaying User and Group Settings after adding a new LOCAL user.

    I jumped on my parents computer, which is on a domain.  I added a new local user(with my live.com login) and gave it admin status.  That's when the trouble began.
    The main user profile disappeared.  I used the command prompt fix (see other fixes) to add the missing user back into admin.  I logged back in, and it set up the account for the first time (WTF?).  I cannot access any files from the main account
    (that I logged into just fine before to get this debacle started.)
    When going to Local Computer Management --> System Tools, my users and groups tool is missing.
    I ran lusrmgr.msc only to find out that the most current version of Windows 8.1 and this is what it said "This snapin may not be used with this edition of Windows 8.1.  To manage user accounts for this computer, use the User Accounts tool in the
    Control Panel."   <---- Awesome!  (that was sarcasm.)
    I have spent over two hours in the User Account tool during the course of this problem only to prove that a picture of a computer is more useful that that "tool".  
    To anyone reading this ticket, the best advice I can offer you (as long as its not a crucial machine) is to back up what you can gain access to, format your hard-drive and reinstall windows and start over again.  I wouldn't recommend reinstalling 8.1,
    I would say go back to 7 and wait until 10 comes out.   Windows 8 is the new Vista.  Good luck!

    Hello AhavahOlam,
    I can understand your feelings.
    If my understanding is right, after adding a new local user in domain-joined Windows 8.1, you can’t open the local users and groups.
    Can you still add account by going to Control Panel\User Accounts and Family Safety\User Accounts\Manage Accounts?
    As this computer is domain-based, it is recommended to contact the domain administrator to see if the option is blocked.
    Best regards,
    Fangzhou CHEN
    Fangzhou CHEN
    TechNet Community Support

  • I upgraded to mountain lion a week ago and now on startup of my macbook pro, microsoft excel and word start up automatically and then crash? very strange can anyone please help? I have checked the login items under users and groups and there is nothing.

    I upgraded to mountain lion a week ago and now on startup of my macbook pro, microsoft excel and word start up automatically and then crash? very strange can anyone please help? I have checked the login items under users and groups and there is nothing.

    Are you using the Office for Mac 2011 version, as you need to do?  The Office for Mac 2004 is Not at all compatible with Mountain Lion, and the 2008 version has been noted to have some problems running with ML.
    Hope this helps

  • What is the SYNTAX for the user and group filters??? Is the HTML Ampersand token Amper A m p semicolon required in the filter

    There seems to be quite a bit of confusion over the actual syntax for the user and group filters on the Forms Based Authentication  Ldap Role and membership providers.. MSFT isn't really clear and there is a universal confusion in the blogsphere.
    I the filters should the prefix be the ACTUAL Ampersand or the HTML token for an AMPERSAND.. I realize the in many cases the blogger might have inadvertently specified the html token when the bare naked ampersand was intended..   The question
    therefore is : can a filter be taken directly from and ADSIEdit query and used as a filter or must the filter be made HTML safe by swapping out the AMERSAND with the HTML Token for AMERSAND before putting it into the configuration
    for the LDAPRole/membership provider...
    All science is either physics or stamp collecting

    Hi GUYO,
    I am not quite sure how we implement this on sharepoint side, as I did research and sharepoint may not have this feature to do this.
    most of the LDAP for sharepoint may need to follow these steps in this article:
    http://technet.microsoft.com/en-us/library/ee806890(v=office.15).aspx
    http://blogs.msdn.com/b/sridhara/archive/2010/01/07/setting-up-fba-claims-in-sharepoint-2010-with-active-directory-membership-provider.aspxhttp://blogs.msdn.com/b/kaevans/archive/2013/01/31/configuring-ldap-for-fba-in-sharepoint-2010-or-sharepoint-2013-with-powershell.aspx
    here is an example :
    http://blogs.msdn.com/b/sharepoint__cloud/archive/2011/12/20/achieving-fba-with-adlds-amp-sharepoint-2010.aspx
    if should this questions was at the ADSIEdit part, perhaps you can help us by opening a new thread at the AD foum
    https://social.technet.microsoft.com/Forums/en-US/home?category=windowsserver
    Regards,
    Aries
    Microsoft Online Community Support
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Suddenly getting 404 error when adding user to group

    Hi,
    I have an OAM 10.1.4.0.1 instance that's been working fine.
    However, today, I noticed that when I tried to add a user to a group, when I am in the selector page and click a user, I then get an HTTP 404 error.
    I've searched all of the log files that I can find, and I can't see any error messages. The only thing that is showing an error in a log is the IIS that I have setup with WebGate for OAM Admin. I get a "404" error with a sc-win32-status or "3".
    I have restarted everything, and that still hasn't helped.
    Does anyone here know what might be causing this, or how to diagnose the problem?
    Thanks,
    Jim

    Hi,
    I'm answering my own question/problem here, but hopefully this info will help someone else.
    I was able to get adding users to groups working again. I found that after I cleared the cache in my browser (IE6), the "add user to groups" started working again, without the HTTP 404 error.
    In hindsight, I guess this kind of makes sense, because if you ever watch the URIs on the selector pages, they all look alike, so I'm guessing the IE would not send a full GET request, but the "content" was no longer valid on the OAM server, thus the 404 error.
    Jim

  • Programmatically creating Oracle Applications users and groups....

    Hi,
    does anybody know of a way for programmatically creating Oracle Applications users and groups....
    --Arvind Ashtekar                                                                                                                                                                                                                                                       

    So my question is still unanswered:
    1)I want to add users programmatically. Can I use apps.fnd_user_pkg to do this.If I am using MS Active Directory Single sign on
    2) Are you sure it is supported ny Oracle. If yes, Can you give me the link supporting this.
    Can you add my name to ur yahoo chat friends My id is arvind_ashtekar2001
    I need urgent help.
    I am getting login pag not found error for e-buz home page. iAS Server is runnung fine.(One more thing setup is failed after 100% installation. I mean it did once more system check and the error was jsp not resonding. And no action after that just sinply close that message windoe and manually close setup dialog)
    What might me the error.
    Thanks
    --Arvind Ashtekar                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • I tried to upgrade the ios on the phone and I was asked for my icloud user and password. I don't remember these exactly and I tried several times with different options but unsuccessfully. I also forget my email used to configurate the phone.

    How i said on the question. I tried to upgrade the ios on the phone and I was asked for my icloud user and password. I don’t remember these exactly and I tried several times with different options but unsuccessfully. I also forget my email used to configurate the phone. I have the phone box and the bill. I sent you an email with my problem and attachments with the box informations, the bill and the reset request. What to do? You said to me:
    Your request comes from an unrecognized email domain. Apple accepts email requests only from email domains for Apple-authorized carriers.
    Please re-submit your request using your official carrier domain.
    but this email is authorized, what to do??
                                                                                                              respectfully, Beba

    If you have forgotten then these links are the only way to resolve
    http://www.apple.com/support/appleid/
    As long as you have owned the iPhone from new and your Apple id is the one used to activate when new
    OR have you recently purchased the iPhone secondhand ?

  • HT4314 I have two ipods in my house that were set up under the same email.  I have since assigned two different emails.  How can I change the game center account so that is not shared by both ipods because it is for two different users and they are not ha

    I have two ipods in my house that were set up under the same email.  I have since assigned two different emails.  How can I change the game center account so that is not shared by both ipods because it is for two different users and they are not happy?

    By "game center account", do you mean Apple ID?
    If so, you can change it.
    1. Tap settings and navigate to iTunes and App Stores
    2. Tap "Apple ID" and then tap "Sign Out"
    3. Log in with a different ID.

  • HT1338 I have MacBook with OS 10.5.8. Is there any way for me to install and run keynote on this machine? Do I need to upgrade OS and how? Thanks

    I have MacBook with OS 10.5.8
    Is there any way for me to install and run Keynote on this machine? Thanks

    Welcome to the Apple Support Communities
    Keynote '09 is compatible with your computer, but you won't get the latest Keynote version running that version. As you have an Early 2008 MacBook, first I recommend you to update to Mac OS X Snow Leopard to get newer versions of all applications but without losing any applications > http://store.apple.com/us/product/MC573/mac-os-x-106-snow-leopard Make a backup before upgrading.
    The DVD contains Mac OS X 10.6.3, so after upgrading, open  > Software Update to update to 10.6.8. Then, you will get access to the App Store.
    However, the Keynote version available in the App Store is only compatible with OS X 10.7.5 or newer, so now you have two options:
    1. Upgrade to OS X Lion and purchase Keynote from the App Store.
    2. Keep Mac OS X Leopard or Snow Leopard, and buy Keynote on a DVD in eBay or Amazon. Note that you won't be running the most recent Keynote version, but it doesn't mind (the latest version only adds iCloud support)

  • Batch adding users to group

    Is it possible to create a LC user group and batch add users to the group?
    Example:  I have ~120,000 users in my domain but I want only 950 of those users to have access to a new form we will be going live with soon.  To do this I want to create a group for this form but I don't want to have to manually add the 950 users to the group.
    ~Josh

    1. Create a DirectoryManagerServiceClient Instance as follows,
        Properties connectionProps = new Properties();
        connectionProps.setProperty(ServiceClientFactoryProperties.DSC_DEFAULT_EJB_ENDPOINT, "jnp://localhost:1099");
        connectionProps.setProperty(ServiceClientFactoryProperties.DSC_TRANSPORT_PROTOCOL,Service ClientFactoryProperties.DSC_EJB_PROTOCOL);
        connectionProps.setProperty(ServiceClientFactoryProperties.DSC_SERVER_TYPE, "JBoss");
        connectionProps.setProperty(ServiceClientFactoryProperties.DSC_CREDENTIAL_USERNAME, userName);
        connectionProps.setProperty(ServiceClientFactoryProperties.DSC_CREDENTIAL_PASSWORD, password);
        //Create a ServiceClientFactory object
       ServiceClientFactory scf = ServiceClientFactory.createInstance(connectionProps);
       //Create a DirectoryManagerServiceClient object
       DirectoryManagerServiceClient directoryManager = new DirectoryManagerServiceClient(scf);
    2. Create a local group as follows,
       Group group = UMBaseLibrary.createGroup(groupCanonicalName, domainName, PrincipalTypes.PRINCIPALTYPE_GROUP);
       String groupOid = directoryManager.createLocalGroup(group);
       You can also create the above group by going to User Manager AdminUI. i.e. Home  > Settings > User Management > Users and Groups
    3. Once done with creating a group, now we want to make the 950 users members of this group
       The API to be used is directoryManager.addPrincipalToLocalGroup(String userOid, String groupOid);
    4. You'll have to run the above API for all the 950 users.
       So, fetch the userOid through PrincipalSearchFilter based on some matching critera as follows, let say emailAddress
           PrincipalSearchFilter filter = new PrincipalSearchFilter();
           filter.setPrincipalType(User.PRINCIPALTYPE_USER);
           filter.setRetrieveOnlyActive(true);
           filter.setEmail(Email_address_OfUser_To_be_Searched);
           List principals = (ArrayList)directoryManager.findPrincipals(filter);
           for(Principal principal:principals){
              User user = (User)principal;
              directoryManager.addPrincipalToLocalGroup(user.getOid(), groupOid);

  • How do we fetch the top-level users and groups for a particular resource

    Hi Experts,
    I need to fetch the top level users and groups (permissions) for a particular resource, Currently i am able to fetch the effective users list.
    Thanks.

    To elaborate...
    Here we need the users and groups who have direct access to the resource. We dont want to resolve groups.
    Please help us with the apis to use in our java code to fetch the users and groups.

Maybe you are looking for

  • ACR 8.4 not available in Bridge CS6

    After installation of ACR 8.4 there is no communication between Bridge and ACR. If you open ACR preferences in Bridge nothing happens. When you right-click a raw file in Bridge there is no "Open in camera raw" option. When you open raw files in Photo

  • After updating Firefox does not Load all it says XU.DLL not found

    after updating Firefox does not Load all it says XU.DLL not found

  • Can I prevent my book opening with the contents page?

    After the intro video I would like my book to open with the first page full screen, not with the contents. Is this possible? Thanks

  • Construct dynamic menu through iteration of [for each]...

    Hi, I'm trying to create a menu based off a json file structure. Per the code below, I'm trying to build a menu structure that resembles the image below. In order to complete this piece of code, I'm trying to figure out what [mcMenuItem.y] and [mcLes

  • Landscape Design decision

    hi, I have an query regarding the design decision. There are 2 applications at the target (both serving different division) which would receive the master data from ECC via SAP PI. Target structure for PI is identical for both the applications. Now t