How to add users to OSM using UserAdmin.xsd
Hi,
Can you please explain me how to add users to OSM using UserAdmin.xsd i.e xml import/export tool. I need the steps how to do that..
Thanks in Advance,
Menaka
Hi Razvi444,
You need to use submit data to web service in Submit button rule,where you can use above web service.
Refer http://office.microsoft.com/en-in/infopath-help/submit-form-data-to-a-web-service-HA010107048.aspx more details
Thanks
Similar Messages
-
How to add users from person or group field in a sharepoint list to sharepoint group
Hi,
How to add users(single or multiple) from person or group field in a sharepoint list to sharepoint group programmatically?
Any suggestions would be appreciated.
Thank you,
AA.Hello,
Use SPGroup.AddUser() method to add user in group. I have just written sample code in notepad so it is not tested:
SPSecurity.RunWithElevatedPrivileges(delegate()
using(SPSite Site = new SPSite(SPContext.Current.Site.Url))
Using(SPWeb Web = Site.OpenWeb())
SPList list = web.Lists["ListName"];
SPQuery query=new SPQuery ();
query.Query = "<Where><Eq><FieldRef Name='Title' /><Value Type='Text'>Test</Value></Eq></Where>";
SPListItemCollection items = list.GetItems(query);
if(items.Count > 0)
foreach(SPListItem item in items)
//Get USers from person or group column
SPFieldUser userField = (SPFieldUser)item.Fields.GetField("Users");
SPFieldUserValueCollection userFieldValueCollection = (SPFieldUserValueCollection)userField.GetFieldValue(item["Users"].ToString());
SPGroup spGroup = spSite.RootWeb.Groups[groupName];//group name
if (users.Count != 0)
bool isUserInGroup = false;
foreach (SPFieldUserValue user in users)
foreach (SPUser item in spGroup.Users)
string itemUserName = item.LoginName;
string UserName = user.User.LoginName;
if (itemUserName == UserName)
isUserInGroup = true;
break;
if (!isUserInGroup)
spGroup.AddUser(user.User);
The above code will query list item and then get users from "Users" column. Now it will check whetehr user is already in group not, if not then add user in group.
http://rajanijilla.blogspot.sg/2012/09/add-users-to-group-programmatically.html
Hope it could help
Hemendra:Yesterday is just a memory,Tomorrow we may never see
Please remember to mark the replies as answers if they help and unmark them if they provide no help -
How to add users to group which is present in another AD domain?
Hi,
Using JNDI how to add user as a member of group which is present in another AD domain?
For example: In AD forest test.com their are two domain a.test.com and b.test.com. Group is present in a.test.com and I want to add user present in b.test.com as a member of the group.
Any pointer around this would be great help.See the below link to get an idea on group types.
http://technet.microsoft.com/en-us/library/cc755692(v=ws.10).aspx
If the group is a universal group, you can just add members similar to local group even if user and group are in different domains. That is by setting the member attribute of the group. -
How to add new line item using BAPI BAPI_CONTRACT_CHANGE for contract-ME32K
HI Experts,
how to add new line item using BAPI: BAPI_CONTRACT_CHANGE for existing contract.
Requirement:
Already the contract having two line items using ME31K.
Custom program has to add new line items in existing contract.
Thanks,
SendilI got the solution:
We can do like this:
1. Get all details using details, BAPI_CONTRACT_GETDETAIL.
2. After getting results, append new line item. Then use your BAPI.
Check this posting program.. where this bapi is used, use the same coding technique.
IDOC_INPUT_PURCONTRACT_CHANGE -
How to handle user exits while using BAPI
HI experts can any one help me on how to handle user exits while using BAPI. Do we need to handle it explicitly or standard BAPI will take care of it??.
Regards,
Hari KrishnaIf you have added some fields using append structures for screen enhancements, then you have to use appropriate user exits to fill these data while calling BAPI. Some BAPIs have EXTENSION structures to fill the custom data which can be processed using user exists or enhancements.
Regards
Vinod -
How to add user defined tab in the Header level of T-Code O4NM?
How to add user defined tab in the Header level of T-Code O4NM?
I tried with BADI but I cant able to find any BADI for it and also searched for screen exit too..Can you check the user exits,
OIJNOM_N and OIJTKT_N
Cheers,
Balaji -
How to add rows in tableview using javascipt
Hi
I had tableview and button in my page.If i click on the button one new row should be appended to the existing tableview.
so , how to add rows in tableview using javascipt which are editable?
Regards,
Pydi.Hi,
Javascript is client scripting language, which is mainly used for validations at the client side.
To add new row using a HTMLB tag ucannot use javascript. Instead pass "visibleRowCount" variable to a abap variable and add the variable on every button click.. that wil increase the visible row count.
Also the size of the table view is the size of the itnernal table, so append a blank like to the internal table or insert it at the top.
If you are not using HTMLB tags and using simple HTML tags u can always add a row using java script.
Regards
Imran. -
How to create users and groups using WLST Offline with Weblogic 8.1.4
How to create users and groups using WLST Offline with Weblogic 8.1.4?
Any ideas?Hi this is how i created a user using WLST Offline?
cd('/Security/' + domainName)
# Delete the default user name weblogic
# incase you want to remove the defualt user weblogic
delete('weblogic','User')
# Creating a new user defined
create(userName, 'User')
# Setting the password of the user you created.
cd ('/Security/' + domainName + '/User/' + userName)
cmo.setPassword(password)
Regards
Makenzo -
How to add iview to role using webdynpro
Hi every one, Can you please tell me how to add iview to role using webdynpro code.
Thanks
TKHi,
could you copy / past your code ?
if you need help on webdynpro and your beginner, try to watch the video on internet of WebBProfessor. It's really good videos !
regards
Fred -
How to add system to login using sid adm user in HANA Studio
Hi,
I have added SYSTEM user for my TEST system in HANA Studio. Now, I would like to add TEST system but using <sid>adm user.
It shows "The system cannot be reached. The logon data could not be used. Do you want to add the system anyway?".
May I know how to add TEST system using <sid>adm user?
Thank you.
regards,
zlYou need Database user, not operating system user <sid>adm user.
-
How to add users/entry in the oracle internet directory using XML file
hi friends,
i need to know how to add entries, attributes in the oracle internet directory using the XML file.I could able to execute the ldapadd command with out error as
ldapadd -h islch-532.i-flex.com -p 389 -D "cn=orcladmin" -w password -X mypath/filename.xml
but the data entry is not added in OID. can any one help me out. -
How to add user to one to many groups in Active directory using powershell
Hi All
I am working on a script to create a user and based on user type i would like to add that user into 2 to 3 groups . At the moment i have 3 groups e.g domain users, Developers, tester,
$NewUser = Read-Host "New Username"
$firstname = Read-Host "First Name"
$Lastname = Read-Host "Last Name"
$NewName = "$firstname $lastname"
$Group = "Dev"
New-ADUser -SamAccountName $NewUser -Name $NewName -GivenName $firstname -Surname $lastname -displayname $Newname -UserPrincipalName $[email protected] -Path "CN=Users,DC=mydomain,DC=local" -AccountPassword (ConvertTo-SecureString -AsPlainText
"Password" -Force) -Enabled $true
Add-ADGroupMember -Identity $Group -Members $NewUser
I am not sure how to give user(sys admin) this option of choosing 1 or more groups while creating new usermodified this line Add-ADGroupMember
-Identity ([string]$h[$group])
-Members
$NewUser
and
now getting the error message Add-ADGroupMember : Cannot find
an object with identity: '' under: 'DC=mydomain,DC=local -
In XML Gateway Responsibility How to add User defined Trading Partner type.
Hi,
We have a requirements to add user defind Trading Partner Type apart from the default trading partner type.
How to do this? If any one know , kinldy let me explain it
ThanksI looked it up in the mean time ...
The docs state that you only can use simple data type or java.util.list or AttributeList (which is a wrapper for any viewRow). So I guess you have to somehow flatten your complex data type or create a custom VO which holds it.
http://download.oracle.com/docs/cd/E12839_01/web.1111/b31974/bcextservices.htm#CJAEHFJD
Scroll down to 11.2.3
Timo -
How to register User custom field using PHP?
Hi!
I am looking for a way to share user specific data between connected users. For example, all participants should know each other IDs(our own system IDs, not LCCS).
User's custom fields looks the best solution for this, but I can't find a way to register one using PHP, while creating room.
How to register User's custom field using PHP? Or may be there are better solution to make such things?Got it, just need to add new node to UserManager collection.
const USER_MANAGER_COLLECTION = 'UserManager';
static private $USER_MANAGER_CUSTOM_FIELD_CONFIGURATION = array(
'accessModel'=>self::ROLE_VIEWER,
'publishModel'=>self::ROLE_VIEWER,
'persistItems'=>true,
'modifyAnyItem'=>false,
'userDependentItems'=>true,
'sessionDependentItems'=>false,
'itemStorageScheme'=>self::STORAGE_SCHEME_MANUAL,
'allowPrivateMessages'=>true,
'lazySubscription'=>false,
'p2pDataMessaging'=>false
const USER_INVITE_ID_CUSTOM_FIELD = 'inviteId';
static private function createUserManagerCustomFields($room){
$account = self::init();
$collection = self::USER_MANAGER_COLLECTION;
$account->subscribeCollection($room, $collection);
$account->createNode($room, $collection, self::USER_INVITE_ID_CUSTOM_FIELD, self::$USER_MANAGER_CUSTOM_FIELD_CONFIGURATION); -
How to add User Permissions to form created in InfoPath 2010 created for SharePoint document Library
Hi,
I created a form in InfoPath 2010 with three views (one for user input, the other two views to be used by supervisors) and published this to a SharePoint 2010 document library. Now the way this form is supposed to work is that when a User goes to the document
library and adds a document, it is supposed to open the Form with the User's input view. When the User submits the document, only him/her should be able to open and possibly edit the the form. When the Immediate Supervisor opens the form, it should open in
the Supervisors view and allow them to fill in only their section and not be able to edit or alter the user's data. When the Immediate Supervisor saves the document, the Over-all Supervisor should be able to open it in their view and not be able to edit or
alter the sections filled out by the User and Immediate Supervisor.
How would i go about completing this? I have the views created but now have the problem of associating these views with their respective users or groups.Hello,
You need to first create user group in sharepoint site then add user in group according to their role. Later you need to call usergroup.asmx web service to get current logged-In user group name so you can switch view and also apply rule for editing or disabling
controls in form.
Follow this link to get group name:
http://social.technet.microsoft.com/wiki/contents/articles/13271.sharepoint-2010-extracting-user-group-of-current-login-user-in-infopath-2010.aspx
http://social.msdn.microsoft.com/Forums/en-US/018f5184-5c83-4a53-b66b-8c376fc800fc/how-to-get-current-users-sharepoint-group-name-sharepoint-2010-infopath-2010
To apply rule on control:
http://office.microsoft.com/en-in/infopath-help/add-rules-for-performing-other-actions-HA101783373.aspx
Hope it could help
Hemendra:Yesterday is just a memory,Tomorrow we may never see
Please remember to mark the replies as answers if they help and unmark them if they provide no help
Maybe you are looking for
-
A solution for batch print PDF documents
Dear, I use a command line to auto print some PDF documents as below: C:\>AcroRd32.exe /h /t PDF_file_name printer_name the printing is no problem. But when I use the command line to print a large number of PDF files, there are a problem,
-
How do you select multiple words using a Magic Trackpad?
I know how to select multiple words with my mouse, but cannot figure out how to do it using my new Magic Trackpad. Here's the deal: Let's say you want to select "cannot figure out how to" in the sentence above. With my mouse, I'd place the cursor som
-
How to Generate Information Errors in Generic Extractor Function Module
Hi, In my Generic Extractor logic I am reaching out to an additional table to get a field. I would like to produce an informational error or red error in the process monitor if I'm unable to get the field. Is this possible? How can I generate thes
-
Whenever I enter a number in Notes such as a serial number, it turns into a hyperlink. If I click on it to copy it, it calls as if a phone
-
I've heard rumors about the pictures thing. And will I have to set up my iPhone 5 again?