How to add user information list in site page using out of box
Hi,
Kindly suggest me any solutions or reference links regarding adding user information list in one of the site pages using out of box.
Thanks
Razvi444
Hello Razvi444,
it is not clear what you are trying to accomplish, but for your information User Information List could be find under <your_site>/_layouts/15/people.aspx?MembershipGroupId=0. If you would
like to display all user on the page you need to develop a custom web part and using the aforementioned URL all user could be displayed on your page.
Or you could also edit the page and insert a link (/_layouts/15/people.aspx?MembershipGroupId=0), set a description. SharePoint will name it people.aspx. After that you could "Edit Source" and rename it accordingly.
Let me know if this one is helpful.
Enjoy!
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 Update Picture column in User Information List?
Hi,
The user updated his profile picture in mysite about 10 days ago. The updated picture is shown on his mysite but the same is not in sync with User Information List. The 2 timer job which takes care of the profile synchronization are scheduled as below:
Profile Synchronization : hourly
Quick Profile Synchronization : every 2 minutes
And both the timer job status are shown as successful, yet the picture url is not updated.
Can anyone kindly let me know is there any way to update the same manually.
Please note that the version of SharEPoint is 2007 and Windows server 2003.
Thanks in Advance.Hi Sheetal Lomate,
It is correct to check the profile synchronization jobs to make sure profile information syncs between user profiles and user information list.
If it is still not synced, please use the following stsadm command:
stsadm –o sync –listolddatabases <x number of days>
If one or more content databases show up in this list, clean up the list, they can be added to the list again:
stsadm –o sync –deleteolddatabases <x number of days>
Related reference:
User Profiles and User Informtation list synchronization:
http://www.sharepointchick.com/archive/2009/06/17/user-profiles-and-the-user-information-list-or-userinfo-table.aspx
Thanks,
Qiao
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Qiao Wei
TechNet Community Support -
Sharepoint 2010 Content Deployemnt Job issue with duplicate fields in User information List
Hi friends,
I am facing below issue with the content deployment job.
It was working earlier. But now since from couple of days all the content deployment jobs in production environment are failing with below error.
Field name already exists. The name used for this field is already used by another field in the list. Select another name and try again.
ObjectName="User Information List".
When I check the fields in User information list in targeted site, I found couple of columns are dupicate like "ask me about",first name","Last name" etc.
Do i Need to drop target site collection or recreate with fresh content deployment job.
Please suggest.
Please help .
Regards
SubratHi,
According to your post, my understanding is that you got duplicate field error.
Based on the error message, you can try to use the following code sample to remove duplicate records, and check whether it works:
http://social.msdn.microsoft.com/Forums/en-US/sharepointgeneralprevious/thread/41ee04bd-91fb-4bf9-932a-bac42c56c357
Here is a similar issue, you can also use the ‘RemoveDuplicateColumn64’ provided:
http://sharepointsurfer.wordpress.com/2012/04/27/how-to-fix-publishing-site-content-deployment-error-duplicate-first-name-column/
What’s more, as you had said, you can recreate a site with a fresh deployment job.
Thanks & Regards,
Jason
Jason Guo
TechNet Community Support -
CSOM (Javascript) Inner join CAML query on 'User Information List'
I need to pull site user details like (email, display name, phone) from 'User information list' using a 'inner join' on a different list 'SiteOwners' where 'Contact' is a person or group field.
The result object is not returning the details from 'User Information List' though it returns details from 'SiteOwners' list
<script src="/_layouts/15/SP.runtime.js" type="text/javascript"></script>
<script src="/_layouts/15/SP.js" type="text/javascript"></script>
<script type='text/javascript'>
'use strict';
//$(document).ready(function() {
function abc() {
var context = SP.ClientContext.get_current();
var web =context.get_web();
var stownrlist = web.get_lists().getByTitle('SiteOwners');
var camlqry = new SP.CamlQuery();
camlqry.set_viewXml = "<View>" +
"<Query></Query>" +
"<ViewFields>" +
"<FieldRef Name='Title'/>" +
"<FieldRef Name='Contact'/>" +
"<FieldRef Name='UserName'/>" +
"<FieldRef Name='UserEMail'/>" +
"<FieldRef Name='UserMobilePhone'/>" +
"</ViewFields>" +
"<ProjectedFields>" +
"<Field Name='UserName' Type='Lookup' List='User Information List' ShowField='Name' />" +
"<Field Name='UserEMail' Type='Lookup' List='User Information List' ShowField='EMail' />" +
"<Field Name='UserMobilePhone' Type='Lookup' List='User Information List' ShowField='MobilePhone' />" +
"</ProjectedFields>" +
"<Joins>" +
"<Join Type='INNER' ListAlias='User Information List'>" +
"<Eq>" +
"<FieldRef Name='Contact' RefType='Id'/>" +
"<FieldRef List='User Information List' Name='ID'/>" +
"</Eq>" +
"</Join>" +
"</Joins>" +
"</View>";
debugger;
var stownritems = stownrlist.getItems(camlqry);
context.load(stownritems);//, 'Include(Title,Contact,UserName,UserEMail,UserMobilePhone)');
context.executeQueryAsync(
Function.createDelegate(this, function () {
debugger;
var stownenm = stownritems.getEnumerator();
while (stownenm.moveNext()) {
var userid, loginname,email,name,mobilephone;
if (stownenm.get_current().get_item('Contact') != null) {
userid = stownenm.get_current().get_item('Contact').get_lookupId();
loginname = stownenm.get_current().get_item('Contact').get_lookupValue();
email = stownenm.get_current().get_item('ows_UserEMail');
name = stownenm.get_current().get_item('UserName');
mobilephone = stownenm.get_current().get_item('UserMobilePhone');
}), function() {alert('Request failed. ' + args.get_message() + '\n' + args.get_stackTrace());});
</script>
Any suggestions / help please.
SaiI identified the issue
"camlqry.set_viewXml" is a method (camlqry.set_viewXml()) not a property (as apposed to C#).
The above should be like "camlqry.set_viewXml(querystring)" instead of "camlqry.set_viewXml =qrystring".
Sai -
Validate "work e-mail" from user information list --give me wrong result
How can I validate the user "work email" from User Information List is working
properly?
I am following this >> http://social.msdn.microsoft.com/Forums/sharepoint/en-US/e4d41f77-c7e4-40ef-b85f-de7f972f2a3f/allow-submitter-see-only-the-items-that-are-relevant-to-him-in-drop-down-list?forum=sharepointcustomizationprevious#4d63b721-7acb-463a-b578-87eb1d72b5f1
But instead to get the correct work email I am getting >>domain \usernamedomain
\username domain \username (example: americas\admin_andress_belloamericas\admin_andress_belloamericas\admin_andress_bello)
CRISTINA&amp MICROSOFT ForumHi,
How did you validate the work e-mail?
I recommend to set another text field to get the email of the user from User Information List and then use the text field for validation.
Could you please provide an example of your requirement for reproducing this issue?
Thanks,
Victoria
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Victoria Xia
TechNet Community Support -
User profile service not updating 'Title' in user information list
Hi,
In our SharePoint farm, following two user profile sync timer jobs are successfully running but not updating the 'Title' in the hidden user information list.
User Profile to SharePoint Full Synchronization
User Profile to SharePoint Quick Synchronization.
Can someone point me to the right direction? Please note that I don't want to use powershell script shown here to update the 'Title' in the user information list -
http://blog.falchionconsulting.com/index.php/2011/12/updating-sharepoint-2010-user-information/.
Thanks,
Manvir
ManvirHi,
There are two jobs, User Profile to SharePoint Quick Sync and User Profile to SharePoint Full Sync, that synchronize the User Profile database information with the user information list. Sometimes this stops working (properly) and in that case
you need to run:
Stsadm.exe –o sync –listolddatabases 0
Stsadm.exe –o sync –deleteolddatabases 0
The first command will display all the databases and when they have been sync’d last.
The second command will delete the records corresponding to those databases (it doesn't delete databases/end user data).
Anyways, running this will basically tell the timer jobs that they have never sync’d and force them to carry on as if it’s the first time.
Go to Central Admin and fire off the User Profile to SharePoint Full Synchronization
job.
For detailed information, refer to the following article:
https://donalconlon.wordpress.com/2012/03/02/sharepoint-user-information-list-is-not-being-updated/
Best Regards,
Lisa Chen
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected] -
How can i get the list of all tcode used by user of particular module
Hi,
How can i get the list of all tcode used by user of particular module (e.g FI , MM ,PP) within year .
Regards
VikramLogin to your SAP System
Run TCode SE16
Type Table Name : TSTCT
Press F7 Key (Table Contents )
Go to Settings in menu bar
Select User Parameters
Under Keyword select Field Label and press green check mark
Select your criteria in Data Browser and execute
You will see all t codes in there
Regards,
Yogesh -
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 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 users in DS 6.3
hi
i like to know how we can add users to DS 6.3 instances using command line utilitiesPlease read the admin manuals. You can write your own custom application in a variety of languages with an LDAPv3 compatible module. Or you could assemble the entry by hand and use ldapmodify or ldapadd to add to the directory server.
-
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,
MenakaHi 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 -
How to add users to demo model
Hello,
Objective is to add user to demo context instead of using pipadmin user. Through user mangement added users, however In the manage application groups users are not showing up
tried the Synchronize User Tables and it is hanging
actived extended listener service and still Synchronize User Tables is hanging
what is mean by Synchronize User Tables ..what does it really do
Thanks
TRTR-
The Synchronize Users piece is needed in SSM because of how users access the system. As a standalone, Netweaver CE handles the user management in UME and there are settings that can be modified in Netweaver CE if you'd rather use BusinessObjects Enterprise or LDAP for user management.
Changes in users is not automatically refreshed in Strategy Management and so the synchronize users procedure. There are occasions where the synch doesn't look like it has taken place, but when you go to Manage Application Groups in the Administrator interface the updated names appear.
If you are using Netweaver CE to maintain users, add the user in the Identity Management section and make sure to assign that user to appropriate groups. After you have saved that, Sychronize Users in SSM Admininistration and restart
As Vijay is asking in his response, you should clear open sessions by either restarting JPIP in Tools or Extended Listener & Listener in Windows Services, if JPIP is not displayed on your Tools page.
Regards,
Bob
Edited by: Bob McGlynn on Jun 29, 2010 6:06 AM -
how to add games to an iweb site?
ive been trying add it for a long time. any help would be appriciatedOk, here you go...
I Googled "free games for website" and downloaded one. Instructions on this page...
http://96.0.63.10/iWeb-Test-2/game.html
You will need to upload the folder to your server using an FTP application. -
Sharepoint 2010: user information list Vs user profile
I wrote code for getting user details based on username. I am fetching data from user profile using user profile service. But recently I came to know about "user information list" which stores same data as that of user profile.
So, My question is which will be better choice : user profile service OR user information list to get user information ?User Information list has limitation, firstly its hidden, it can be viewed only administrators.
Also you will face issue when you migrate your application to SharePoint 2013.
If you want quick way of know who has permissions you can use this list, but sometime you may end up with outdated user profile(properties) information.
Better try to use User profile service wherever possible.
there is another discussion on this topic here -
http://social.technet.microsoft.com/Forums/sharepoint/en-US/759d3c83-3fed-4bfc-a591-e88ca40e9407/sharepoint-user-information-list
reference-http://www.sharepointchick.com/archive/2009/06/17/user-profiles-and-the-user-information-list-or-userinfo-table.aspx
MCITP: SharePoint 2010 Administrator
MCTS - MOSS 2007 Configuring, .NET 2.0
| SharePoint Architect | Evangelist |
http://www.sharepointdeveloper.in/
http://ramakrishnaraja.blogspot.com/
Maybe you are looking for
-
I am running OS10 on a MAC and every time I go too another web site (most of the time) a new tool bar pops up that says " Firefox prevented this page from automatically redirecting to another page" and on the other end I must hit the button ALLOW bec
-
Where do I get a map transition like iMovie, in which I can put a destination city
Where do I get a map transition like iMovie, in which I can put a destination city
-
Multiple choices in droplist?
For as much as I know, a droplist cannot have multiple selected items when using normal javascript in Designer 7.1. Has this changed with Designer 8 / ES and if so, is there any special limitation in version of the Reader to use? 8.0 or 8.1? If no on
-
ORA-12714 error using NVARCHAR2, REF CURSOR and TABLE FUNCTION
Hello, we have tested this simple script on all the following versions of Oracle: 9.2.0.3, 10.2.0.1.0 , 11.1.0.6.0 - but we got the same error in everyone of these. CREATE OR REPLACE TYPE Rec_Prova IS OBJECT( Id INTEGER, NodeValue NVARCHAR2(5
-
Only create planned order if no stock
Experts, I want to setup MTO environment with possible delivery from stock. If I use strategy 20 (MTO) the system always generates planned orders even if there is stock, with strategy 10 (MTS) no planned orders are created. Flow: - when sales order i