Multiple AD account in single domain for a single user
Hi,
Does OIM support multiple AD account in single domain for a single user?
Scenario 1 :- If the multiple accounts already exists in AD can I pull it from AD to OIM for single user.
Scenraio 2:- Does OIM allow creation of multiple account in AD for a single user, when requested from OIM?
Thanks,
yes. this is possible. OIM allow this.
obviously the recon rule would be employee number or anything other than ' sAmAccontName' for target recon
while provisioning make sure you are generating unique sAmAccountName and Common Name(if in same OU) for same user
If you maintain above no issue having multiple account for a sing user in single domain
Similar Messages
-
Can I open multiple Paypal accounts to accept payments for multiple businesses?
Hello, I plan on setting up two businesses that will use Paypal to accept payments. Can I set up two seperate Paypal accounts to accept payments for my two businesses?
You can have up to 8 bank accounts attached to your paypal account. So if you know how much you have earned per business you can withdraw that amount to one bank account and the rest to a different bank account. Hope that is what you meant. If not will check back later tonight or late tomorrow as got to work tomorrow during the day. ***************************************** I give up my time to help you so a thank you or kudos would be cool.
Marking one of my replies as a solution would be appreciated if I sorted your problem.
-
Multiple IMAP accounts on same domain - collisions?
i am migrating to mail.app (from entourage) and starting to set up several of my mail accounts, i am also switching many of my accounts to IMAP.
I currently have three IMAP accounts from the same domain in mail.app (admin@, need@ and offer@) and it seems as if every time mail checks the server there is a problem with one of the accounts. but it is never the same account, and not always one... every 5 minutes (currently) when mail.app checks at least one of the 3 displays an alert. setting it to "online" works every time.
Is it possible that 3 accounts are too much at once (from the same domain) the 3 other accounts on different domains always work. Is this a known issue?I've got the same problem - and maybe it's not the answer You want to hear .
I've solved this problem by changing to Thunderbird. I didn't find the correspondig config switch in Mail.app; in Thunderbird I can reduce the number of "persistent connections" to the mail server. It seems that my provider (he uses PLESK) has a limit of simultanous connection to one server, so my 4 Email-Accounts can not be reached at the "same" time.
If I reduce my accounts to 2, I can reach both of them.
Maybe someone else can tell You (and me) where to change the settings of Mail.app; I gave up!
HTH
astroeher
iMac 17" Intel Core2Duo Mac OS X (10.4.8) -
How to add multiple groups in a single user in ldap
I have problem with ldap ,Please clarify the following problem.
My request is --> send the multiple groups at a time with single user.
My code contain single user and single group is working.
Please see the source file ,please solve my problem. i tried , but i did not get.
package com.ldap;
import java.util.Hashtable;
import javax.naming.AuthenticationException;
import javax.naming.Context;
import javax.naming.NameAlreadyBoundException;
import javax.naming.NamingException;
import javax.naming.directory.Attribute;
import javax.naming.directory.Attributes;
import javax.naming.directory.BasicAttribute;
import javax.naming.directory.BasicAttributes;
import javax.naming.directory.DirContext;
import javax.naming.directory.InitialDirContext;
* This class provides methods for the user management
* @author sudhakar
public class LdapUserMgr {
public final static String USER_ID = "uid";
public final static String COMMONNAME = "cn";
public final static String SURNAME = "sn";
public final static String MEMBEROF = "wlsMemberOf";
public final static String MEMBEROF1 = "wlsMemberOf";
public final static String PASSWORD = "userpassword";
public final static String EMAIL = "mail";
* This method creates new user in the embedded ldap registry
* @return
* @throws Exception
public void createUser() throws Exception {
DirContext ctx = getLDAPConnection();
String userId="sudhakar";
String userName="sudhakar";
String userRole="Assessor";
String password="sudhakar123";
String email="[email protected]";
try{
Attributes attrNew = new BasicAttributes(true);
Attribute objclass = new BasicAttribute("objectclass");
String group = "ou=groups,ou=myrealm,dc=sudhakar_domain";
String people = "ou=people,ou=myrealm,dc=sudhakar_domain";
// add all the object classes required for the user profile
objclass.add("top");
objclass.add("person");
objclass.add("organizationalPerson");
objclass.add("inetOrgPerson");
objclass.add("wlsUser");
// put all the attributes required as part of the user profile
// add object classes
attrNew.put(objclass);
// add user Id
attrNew.put(USER_ID, userId);
// add user common name
attrNew.put(COMMONNAME, userName);
// add user surname
attrNew.put(SURNAME, userName);
// prepare the group path for the user
String role = COMMONNAME + "=" + userRole + "," + group;
// add user to a group
attrNew.put(MEMBEROF,role);
System.out.println("user role is "+role);
// i want to pass multiple user roles at a time
// add user password
attrNew.put(PASSWORD, password);
// add user mail Id
attrNew.put(EMAIL, email);
// Prepare the query string to add the user to the embedded ldap
String query = USER_ID + "=" + userId+ "," + people;
System.out.println("user query is "+query);
// add the user to the LDAP directory
ctx.createSubcontext( query, attrNew );
System.out.println("user" + userId+ "created");
catch ( NameAlreadyBoundException nabe ){
System.out.println(nabe.getMessage());
throw new NameAlreadyBoundException("User by this name already exits");
catch (NamingException namEx) {
System.out.println(namEx.getMessage());
catch(Exception ex){
System.out.println(ex.getMessage());
finally{
closeLDAPConnection(ctx);
public DirContext getLDAPConnection() throws Exception{
DirContext ctx = null;
try{
Hashtable<String,String> env = new Hashtable<String,String>();
env.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.ldap.LdapCtxFactory");
env.put(Context.PROVIDER_URL, "ldap://192.168.100.84:7030/");
env.put(Context.SECURITY_AUTHENTICATION, "simple");
env.put(Context.SECURITY_PRINCIPAL, "cn=Admin");
env.put(Context.SECURITY_CREDENTIALS,"admin");
// Create the initial directory context
ctx = new InitialDirContext(env);
return ctx;
catch (AuthenticationException authEx){
System.out.println(authEx.getMessage());
throw new AuthenticationException("Authentication failed");
catch (NamingException namEx) {
System.out.println(namEx.getMessage());
throw new NamingException("Naming Exception");
catch(Exception ex){
System.out.println(ex.getMessage());
throw new Exception("Exception Occured");
* This method closes the LDAP connection
* @param ctx
public void closeLDAPConnection(DirContext ctx){
try{
ctx.close();
catch(NamingException nex){
System.out.println(nex.getMessage());
catch(Exception ex){
System.out.println(ex.getMessage());
public static void main(String s[])throws Exception{
LdapUserMgr ldapUserMgr = new LdapUserMgr();
ldapUserMgr.createUser();
Edited by: sudhakar_kavuru on Jun 16, 2009 1:58 AMHi Sudhakar,
try some thing like this.Here I have enclosed the code snippet.
String query = USER_ID + "=" + user.getUserId()+ "," + people;
// add the user to the LDAP directory
// ctx.createSubcontext( query, attrNew );
Attribute att1 = new BasicAttribute(MEMBEROF);
String roleName=user.getUserRoleList().get(0);
String role1 = COMMONNAME + "="+roleName+"," + group;
att1.add(role1);
attrNew.put(att1);
DirContext dirContext =ctx.createSubcontext( query, attrNew );
for (int i = 1; i < user.getUserRoleList().size(); i++) {
Attributes att2 = new BasicAttributes();
String roleNameStr=user.getUserRoleList().get(i);
log.debug("roleNameStr--->"+roleNameStr);
String role2 = COMMONNAME + "="+roleNameStr+"," + group;
log.debug("role2-->"+role2);
att2.put(MEMBEROF,role2);
dirContext.modifyAttributes("", DirContext.ADD_ATTRIBUTE, att2);
} -
How can I change my Creative Cloud Team account to Single user?
From a mistake I have extended my Creative Cloud account as Team account, however I would like to use as a single user. As the abonement has been already done, is there any chance to modify? Thank you!
Hi katrikuu
I noticed you had an educational version of Production Premium CS5 registered. Unfortunately, the offer pricing is not available to Education, OEM or volume licensing customers as per the terms of the offer: https://creative.adobe.com/plans
If you have other Creative Suite software that may qualify, please let me know.
Kind regards
Bev -
How to link two AD accounts to single user?
Hi
Can you please help us on this.
We have two accounts for the same user (200017821) in AD with
sAMAccountName= 200017821
sAMAccountName= c2017821
our reconciliations automatically linking users with sAMAccountName= accountId
But skiping sAMAccountName ! =accountId and showing them as unmatched.
If we try to manually link the accounts then we don't know accountguid for the sAMAccountName= c2017821
If we try to checkoutview and checkinview or reprovision then existing account(resource info) getting affected and new account not getting added in idm.
ThanksWhile updating the second account through workflow set the view as follows
accountsAD
Regards,
Purush -
Prepping New Child Domain for Exchange so Users can use it
I have a new Child Domain that needs a "prep" for Exchange 2010 User objects. Instructions don't indicate on which DC this "prep" needs to be made.
Anyone done this before? Thank you!!
CharlieHi ,
You can prefer anyone of the domain controller in the child domain for preparing the domain .
Setup.exe /PrepareDomain:<FQDN of the domain you want to prepare> /IAcceptExchangeServerLicenseTermsReference link : http://technet.microsoft.com/en-us/library/bb125224(v=exchg.150).aspxOn that above link please refer the topic "Let me choose which Active Directory domains I want to prepare"RegardsS.Nithyanandham
Thanks & Regards S.Nithyanandham -
Perhaps novice Q: multiple devices/accounts, versus single Mac
My family members have multiple ipads, iphones etc, and separate itunes accounts. we are in process of consolidating PCs/Macs etc, such that we may only have one main household Mac. Can one Mac support syncing/updates etc across mulipe devices & accounts, whilst keeping accounts & libraries independant?
i have tried and failed miserably. i suspect i am missing something obvious any advice?Well it seems like the first thing you should do is consolidate your iTunes libraries so that you don't have 4 copies of everything, one for each user logged in to your Mac Mini. How you do that is consolidate all 4 iTunes folders to one folder located in the /Users/Shared/ folder and update each of your iTunes to point to that folder accordingly. That way you have one iTunes library, only one copy of your media, but accessible from multiple users.
One caveat is that if somebody is logged on and has iTunes open, you can't fast switch to another user and open iTunes. Apple made it so that only one user and one instance of iTunes can open a iTunes library at a time.
For your iTunes match situation, it does sound like you would be much better off sharing a single Apple ID with one iTunes Match. For consolidating, make sure you have everything everybody has shared via Home Sharing to the main account you'd like to move over to, and then simply go to each device Settings, Store, and the sign out of the original Apple ID and logon using the shared main Apple ID. I just looked at it and the automatic downloading is already live in iOS! You can specify if you want to do music, apps, and books separately in case you may want to automatically download music but not apps or books. -
Multiple Enterprise Accounts using single DUNS number
We are a parent company with a couple of subsidiaries who would like to release iOS titles under their own company name.
From what I understand, to release an app to the App Store that has the subsidiary company name listed we would need a developer account for each subsidiary.
If we apply for a DUNS number for the parent company, is it possible to then create several enterprise developer accounts for each subsidiary but submit the DUNS number for the parent company?
Thanks!
Nickhi The Kid!
here's a bleeding-edge hack along those lines ... unsupported, no guarantees of success on a 6.0.x, etc, etc ...
MacMuse, "Multiple users on one PC" #1, 02:14pm Sep 5, 2005 CDT
love, b -
I am developing an ios application which has non renewable subscription.
Which algorithm would be best if the very time an authorized user purchase my application after paying charge for it , can download it for other devices assocated with him for free?
Any help would be appreciated?
Thanks in advance
Neeraj@iDevThanks! I see a potential problem--iTunes must be open on the main(?) other computer for sharing to works, according to some of the documentation. My situation is that daughter 1 grabs the main computer, access iTunes and her account. Then daughter 2 comes into room, screams upon seeing daughter 1 using the iTunes computer.
I want daughter 2 to calmly walk to computer 2, open iTunes and somehow seamlessly access her iTunes library. In that case, iTunes may be open on computer 1, but not with her library open or her id in force. It might also be the situation that computer 1 does not have iTunes even running at that time, if daughter 1 is on Facebook.
Can Home Sharing handle this situation?
Larry -
Multiple obSSOCookies in a single user session
Hi ,
I have written a web service to update my users in ADAM directory. The web method creates IDXML requests and sends it to the Identity Server.
My web method looks like this
[WebMethod]
public void UpdateUserProfile(string userGuid, UserProfile profile, string obSsoCookie) where userGUID is the CN attribute.
I do call this webmethod from a web application to update multiple users. Since my web method supports only one update at a time, I have to call this method in a loop and pass on the user details. I wont be able to add a bulk update web method due to other constraints.
Now every time, when I call this web method from my client ASP.NET application (Updating users from my client application) , I also pass on a new obSSOCookie, in the same session.
The client method signature which I use to call the web method is
utils.UpdateUserProfile(foundProfile[iProfile].Guid, profile, CommonFunctions.GetOIMSSOCookie());
The GetOIMSSOCookie method generates a new cookie on every call by posting my account credentials to webgate.
However, the update fails sporadically after updating few users. The error logs which I see is (logs have been masked)
2011-03-09 04:59:24,458|756|DEBUG|53275e69|XXX|UpdateUserProfile > SearchUser SearchActiveUser > SearchActiveUser > SearchActiveUsers > GetUserAttributeValues >|OIM.CommonSearchHelper|cn Attribute value: CN=2bb8f5f6-49b0-4d86-a58a-bad9a087b25c,OU=XXX,OU=Applications,OU=subscriber,DC=ext,DC=adam
2011-03-09 04:59:24,458|756|DEBUG|53275e69|XXX|UpdateUserProfile > SearchUser SearchActiveUser > SearchActiveUser > SearchActiveUsers >|OIM.CommonSearchHelper|User DN: CN=2bb8f5f6-49b0-4d86-a58a-bad9a087b25c,OU=XXX,OU=Applications,OU=subscriber,DC=ext,DC=adam
2011-03-09 04:59:24,458|756|DEBUG|53275e69|XXX|UpdateUserProfile > SearchUser SearchActiveUser > SearchActiveUser >|OIM.CommonSearchHelper|userDN: CN=2bb8f5f6-49b0-4d86-a58a-bad9a087b25c,OU=XXX,OU=Applications,OU=subscriber,DC=ext,DC=adam
2011-03-09 04:59:24,458|756|DEBUG|53275e69|XXX|UpdateUserProfile > CreateGenericAttribute|OIM.ModifyUserHelper| Generic Attribute: Setting;oper:REPLACE_ALL
2011-03-09 04:59:24,458|756|DEBUG|53275e69|XXX|UpdateUserProfile > CreateGenericAttribute|OIM.ModifyUserHelper|Attribute Values : OptOut;
2011-03-09 04:59:24,458|756|DEBUG|53275e69|XXX|UpdateUserProfile > CreateGenericAttribute|OIM.ModifyUserHelper| Generic Attribute: setting;oper:REPLACE_ALL
2011-03-09 04:59:24,458|756|DEBUG|53275e69|XXX|UpdateUserProfile > CreateGenericAttribute|OIM.ModifyUserHelper|Attribute Values : ;
2011-03-09 04:59:24,458|756|DEBUG|53275e69|XXX|UpdateUserProfile > CreateRequestParams|OIM.ModifyUserHelper|Creating Request params for dn:CN=2bb8f5f6-49b0-4d86-a58a-bad9a087b25c,OU=XXX,OU=Applications,OU=subscriber,DC=ext,DC=adam
2011-03-09 04:59:24,458|756|DEBUG|53275e69|XXX|UpdateUserProfile > CreateRequest|OIM.ModifyUserHelper|Creating Modify User Request:
2011-03-09 04:59:24,458|756|DEBUG|53275e69|XXX|UpdateUserProfile > CreateCookie|OIM.Utility|Creating Cookie - ObSSOCookie : vh1YQIlJEn4m4PA6uWYQlB1VJp%2Bl1OL7Got2aL1GTwBj1dCF4r4gdoiwXaCbwKmqqX0KWQGp5n0KzaLhDsKqscGNT%2FsxLdSdmoiBMIqR2tBMxIGO4EIIO8FZ%2FnOUVIrElqjyZMK7FpKJ7cGOvezFBLbl1WqcOxiDz2M2lYgoRFJX94uhaB2av3FoFxMQU0wgNHOJJsT4oAaUW2B6DxHg9nzITZvanmzYrDG7xK8p6TNTilhD9hygvcUKyriaAnIYJRxgpSmdgppznPD27KoQvLmjw2jjIHxujaWXPiMko0QgFpIwMK02SrgOWLlB3n6334n4f86TJqi%2Bj78hJ3HRpW%2FjNfAYBbr%2FN1D0r6%2BZt3U%3D; domain=.xxx.com;isSecure: False
2011-03-09 04:59:24,646|756|DEBUG|53275e69|XXX|UpdateUserProfile >|OIM.OimUtils|Status: 0
2011-03-09 04:59:24,646|756|DEBUG|53275e69|XXX|UpdateUserProfile >|OIM.OimUtils|Updated User Profile
2011-03-09 04:59:24,646|756|DEBUG|(null)|XXX|(null)|OIM.Global|Request Completed for /oimapi/20070306/oimapi.asmx
2011-03-09 04:59:24,739|756|DEBUG|(null)|XXX|(null)|OIM.Global|Begin Request - 9046bf89
2011-03-09 04:59:24,739|756|DEBUG|9046bf89|XXX|(null)|OIM.Global|Beginning Request for /OIMAPI/20070306/OimAPI.asmx
2011-03-09 04:59:24,739|756|DEBUG|9046bf89|XXX|GetUserProfileForToken >|OIM.OimUtils|Starting GetUserProfileForToken
2011-03-09 04:59:24,739|756|DEBUG|9046bf89|XXX|GetUserProfileForToken >|OIM.OimUtils|Parameters: obssocookie: ngzOfBfpHTxumbRfYHbaHXMR%2B3oDuxKmIUzS4hqFtGfGQ8QyLSQ7n%2BiLLbEBJMLXJlq5mF1u1ngR8z8Xs9n5T5JBZyK7eVhlitAELEU2SrPxlCkenz6WdbtM%2FsbpJKTZ3kQ25%2Fy3lZ8gVHXLeMzjNQitlXdmpnA%2BTPRu%2FwPAIojDmojbdHWiO3eJI61lvffrsMFANz5ZtVRd4AKmbFFWXI4DytAIdKwSDfDZ1h6LsVAsYaZ4vXM1%2B7qJ7qw80%2F7PO8CKer%2F4wbTNAzgSHH%2BNA7Zd2TgzzYjPAyiPDIbQb4viB%2BAdohKW6IScot9ekWzCtm0gzA1H4fJTSGmXEDuLrux7wxDsNpeL4HfvMq5AvTM%3D
2011-03-09 04:59:24,755|756|DEBUG|9046bf89|XXX|GetUserProfileForToken > GetUserAttributeValues CreateRequestParams|OIM.ViewHelper|Creating View Request params for dn:
2011-03-09 04:59:24,755|756|DEBUG|9046bf89|XXX|GetUserProfileForToken > GetUserAttributeValues CreateRequest|OIM.ViewHelper|Creating View Request
2011-03-09 04:59:24,755|756|DEBUG|9046bf89|XXX|GetUserProfileForToken > GetUserAttributeValues CreateCookie|OIM.Utility|Creating Cookie - ObSSOCookie : ngzOfBfpHTxumbRfYHbaHXMR%2B3oDuxKmIUzS4hqFtGfGQ8QyLSQ7n%2BiLLbEBJMLXJlq5mF1u1ngR8z8Xs9n5T5JBZyK7eVhlitAELEU2SrPxlCkenz6WdbtM%2FsbpJKTZ3kQ25%2Fy3lZ8gVHXLeMzjNQitlXdmpnA%2BTPRu%2FwPAIojDmojbdHWiO3eJI61lvffrsMFANz5ZtVRd4AKmbFFWXI4DytAIdKwSDfDZ1h6LsVAsYaZ4vXM1%2B7qJ7qw80%2F7PO8CKer%2F4wbTNAzgSHH%2BNA7Zd2TgzzYjPAyiPDIbQb4viB%2BAdohKW6IScot9ekWzCtm0gzA1H4fJTSGmXEDuLrux7wxDsNpeL4HfvMq5AvTM%3D; domain=.xxx.com;isSecure: False
2011-03-09 04:59:24,896|1356|DEBUG|(null)|(null)|(null)|OIM.Global|Begin Request - 29bf4f98
2011-03-09 04:59:24,896|1356|DEBUG|29bf4f98|XXX|(null)|OIM.Global|Beginning Request for /oimapi/20070306/oimapi.asmx
2011-03-09 04:59:24,896|1356|DEBUG|29bf4f98|XXX|UpdateUserProfile >|OIM.OimUtils|Starting UpdateUserProfile
2011-03-09 04:59:24,896|1356|DEBUG|29bf4f98|XXX|UpdateUserProfile >|OIM.OimUtils|Parameters: userGuid: 36ce5679-5f52-4b6c-a2f5-a9d48162abac; obSsoCookie: loggedoutcontinue
2011-03-09 04:59:24,896|1356|DEBUG|29bf4f98|XXX|UpdateUserProfile > SearchUser SearchActiveUser > CreateSearchParamCondition|OIM.CommonSearchHelper|Creating Search Param Conditions - attrName:cn;attrValue:36ce5679-5f52-4b6c-a2f5-a9d48162abac;oper:OEM
2011-03-09 04:59:24,896|1356|DEBUG|29bf4f98|XXX|UpdateUserProfile > SearchUser SearchActiveUser >|OIM.CommonSearchHelper|Search Condition 1: cn OEM 36ce5679-5f52-4b6c-a2f5-a9d48162abac
2011-03-09 04:59:24,896|1356|DEBUG|29bf4f98|XXX|UpdateUserProfile > SearchUser SearchActiveUser > SearchActiveUser > SearchActiveUsers > CreateSearchParams|OIM.CommonSearchHelper|Creating Search Params with 1 condition(s)
2011-03-09 04:59:24,896|1356|DEBUG|29bf4f98|XXX|UpdateUserProfile > SearchUser SearchActiveUser > SearchActiveUser > SearchActiveUsers > CreateRequestParams|OIM.CommonSearchHelper|Creating Request params - number of fields: 1; tabId: Employees
2011-03-09 04:59:24,896|1356|DEBUG|29bf4f98|XXX|UpdateUserProfile > SearchUser SearchActiveUser > SearchActiveUser > SearchActiveUsers > CreateRequest|OIM.CommonSearchHelper|Creating Request:
2011-03-09 04:59:24,896|1356|DEBUG|29bf4f98|XXX|UpdateUserProfile > SearchUser SearchActiveUser > SearchActiveUser > SearchActiveUsers > CreateCookie|OIM.Utility|Creating Cookie - ObSSOCookie : loggedoutcontinue; domain=.xxx.com;isSecure: False
2011-03-09 04:59:24,896|1356|ERROR|29bf4f98|XXX|UpdateUserProfile > SearchUser SearchActiveUser > SearchActiveUser > SearchActiveUsers >|OIM.CommonSearchHelper|2 - Error Searching User: cn OEM 36ce5679-5f52-4b6c-a2f5-a9d48162abac; - The request failed with an empty response.(51-99-01)
System.Net.WebException: The request failed with an empty response.
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at OIM.common_search.OblixIDXML_common_search_Service.OblixIDXML_common_search(authentication authentication, request request) in c:\Projects\OIM\Source\OIMAPI\Web References\common_search\Reference.cs:line 79
at OIM.CommonSearchHelper.GetSearchActiveUsersResponse(String[] attributeNames, SearchParamsCondition[] conditions, Int32 numOfRecords, String obSsoCookie) in c:\Projects\OIM\Source\OIMAPI\CommonSearchHelper.cs:line 493
2011-03-09 04:59:24,896|1356|DEBUG|(null)|XXX|(null)|OIM.Global|Request Completed for /oimapi/20070306/oimapi.asmx
The update fails because in between, the obssocookie sets to LoggedOut Continue.
Should I be using a single obSSOCookie for the entire update operation, by getting a cookie and storing it in a temp string variable? If not, then what could be reason the cookie getting timed-out?
Any suggestions?
Thank you,
VibhutiHi Sudhakar,
try some thing like this.Here I have enclosed the code snippet.
String query = USER_ID + "=" + user.getUserId()+ "," + people;
// add the user to the LDAP directory
// ctx.createSubcontext( query, attrNew );
Attribute att1 = new BasicAttribute(MEMBEROF);
String roleName=user.getUserRoleList().get(0);
String role1 = COMMONNAME + "="+roleName+"," + group;
att1.add(role1);
attrNew.put(att1);
DirContext dirContext =ctx.createSubcontext( query, attrNew );
for (int i = 1; i < user.getUserRoleList().size(); i++) {
Attributes att2 = new BasicAttributes();
String roleNameStr=user.getUserRoleList().get(i);
log.debug("roleNameStr--->"+roleNameStr);
String role2 = COMMONNAME + "="+roleNameStr+"," + group;
log.debug("role2-->"+role2);
att2.put(MEMBEROF,role2);
dirContext.modifyAttributes("", DirContext.ADD_ATTRIBUTE, att2);
} -
Populating multiple image fields with single user-defined image
Hello,
I am fairly new to LiveCycle and am looking to include a user-specified image in the header of each page of my dynamic form.
I've succeeded in including the image form at the head of each page using a master page, but each image form only affects the page it is on. Ideally, I would like to have the user be able to select the image on one page, and have all of the image fields populate.
Is there any way to use a script to populate the other images when the first image is selected by the user? I tried setting the rawValue of one image to that of another once the other is chosen, but had no success.
Thanks,
MichelleThank you for the responses. I have already updated awhile ago, so I am wondering what happened. Not sure if during the server update, some files were replaced (unless I totally forgot to update to 1.0.1 on this site). So I reinstalled 1.0.1, deleted the includes folder from the server and uploaded my includes folder and it now works again.
Again, thanks for the help.
Jeremy -
Creating more than one account for a single user
I was wondering, if I creat more than one account for me (the only person that uses my powerbook) is that going overboard? I mean, lets say I am logged into the standard account and I want to learn more about the bash shell and using terminal which I am new to, if I **** something up will the whole system be toast or will only things in that account be messed up? Like could I then just log into my admin account and delete the other messed up one? Or no? My theory was that this was a way of keeping my comp safe from myself, being that I am new to macs and moreso that I am new to the unix side of things and want to start learning the command line without worrying about screwing up my whole system. I would just use the standard account for everyday use (like what I do now) or experiment with terminal, and when I need to download something or change some settings that requires me to be logged in as admin then I would log in and download what I need then log out and use it in the standard account...am I just wasting my time? Is what I am doing any "safer" than just having one admin account and thats it?
Thanks for all the help! It feels good to be a part of the goodguys team =)
Thanks again!Ghost,
First, I don't subscribe to the "one should not use an admin account" philosophy. For someone who is the owner and main user of any given machine, I see the use of anything but an admin account a bit anal, totally unecessary, and needlessly complicating.
On the other hand, I don't see the need for more than one admin account on any given machine. Yes, I see exceptions to this, and many people favor having a second admin account as a "backup," but I have never had more than one admin account on any of my machines, and have never encountered a situation where one would have helped.
In short, I like the idea of having a "main" admin account that is used most of the time, and then having "secondary" accounts (all non-admin) for any additional users that might log in.
Now, any limitations that apply to you as a GUI user of an account, admin or not, will apply to you at the command line as well. In other words, you can't get yourself into any more trouble at the command line than you can within the GUI. In fact, you might even be better protected at the command line than you are in the GUI. I say this because any action that would ordinarily "elevate" you above the standard capabilities of a non-admin user require the use of "sudo." Avoid the use of sudo, and you can avoid any problems.
That doesn't mean that you wouldn't be able to do something stupid that might wreck an account that contains "all of your stuff," and on which you depend. It is not likely that you would damage your System, but it is entirely conceivable that you might, for example, accidently delete or overwrite your entire HOME folder. Oops!
If you simply don't trust yourself with the command line, a second account might be a good place to experiment. Maybe create it as a non-admin account at first, with the option to change it to an admin account at a later time, when you want to learn how to use "sudo" to do more powerful things. By then, you will understand what not to do. Eventually, you will have the confidence to use the command line in your own account, which will have been an admin account all this while.
Scott -
Multiple sessions in a single database connection.
I have copied the following text from Forms Developer2000
"At runtime, Form Builder automatically establishes and manages a single connection to ORACLE. By default, one user session is created for this connection. However, the multiple-sessioning feature of ORACLE allows a single client to establish multiple sessions within a single connection. ORACLE transaction-management and read-consistency features all are implemented at the session level, so creating multiple sessions allows a single user to have multiple, independent transactions."
If ORACLE allows a single client to establish multiple sessions within a single connection, I want to leverage on this feature in my application which uses BC4J.
Can anybody tell me if
1. its possible achieve this in Java(BC4J).
2. If Yes, How?
regards,
vikrantThank you for your valuable suggestion.
I believe createing multiple root Application
Modules, will create as many number of connections to
database, hence multiple transactions.
But What I wanted was multiple sessions in a single
connection, who's behavior will be similar to two
different connections.Could you tell me the advantage you're looking for in multiple sessions in one connection vs. multiple connections (where connections may be pooled)?
Thanks.
Sung -
Using ThinkVanta​ge Password Manager with multiple Google Accounts
Hi,
I have multiple google accounts with unique passwords for each.
If I register one password with the Password Manager, sign out of that google account and attempt to sign in to another account via the following page:
https://accounts.google.com/ServiceLoginAuth
The Password Manager prompts to overwrite the existing login credentials, so how can I setup the Password Manager to recognise multiple google accounts?
ThanksHi,
If you input different log-in name l, password manager will ask you to save this entry.
And it will save two entries for google login with different log-in account
, and you could select the one you want to login in the future.
Maybe you are looking for
-
How to prevent modifying the same sales order in R/3 & CRM at the same time
Guys, We are using CRM 5.0& R/3 4.6C. We have the middle set up. I have noticed that its possible to open the same sales order in R/3 and CRM in the change mode. I believe this could cause inconsistenices if the users modify the same order in differe
-
Error using Logminer, Please help !
I am trying to understand how to use logminer. I have a database (oracle 9.2.0.4)and have completed the following steps: 1) set the UTL_FILE_DIR parameter. 2) Run the dbmslm.sql and dbmslmd.sql scripts 3) Created a directory and a file under that dat
-
On my hp dm1 with windows 7 In full detail, this is what I did. I clicked to do a system recovery, it asked if I wanted to backup the files, I said yes. It said it backed up my files on the external hard drive. I continued the system recovery. It set
-
MBPro won't read SL DVD - can I copy the install DVD on a PC?
My MacBook Pro won't read the SL install DVD (as others have had problems with). I have access to a PC with DVD to DVD copy ability. My question is, can I burn a copy of the install DVD to another DVD and use that copy (assuming my MB will be able to
-
Hi, I just had a new computer installed with Windows 8. When I downloaded Itunes (latest version) I authorized my computer. Now I get the message- The Itunes library cannot be saved. An unknown error has occured (-50). I don't know what to do? I