How to get record created and modified user name from SharePoint Database?
Hi,
My SharePoint Portal is in Window Authentication. Some users have added requests to Lists. I want to find user name of the Created By and Modified By.
Only ID is available in the corresponding columns in Content Database table. In which table the users details would store in Content Database.
Thanks & Regards
Poomani Sankaran
hi, you can find the user details inside UserInfo Table in content database. But i would suggest not to directly query the content databse not even for select as it will affect the indexes.
why not follow the link
http://www.sharepoint4arabs.com/AymanElHattab/Lists/Posts/Post.aspx?ID=99
also if you just need the basic created by and modified by info than use SharePoint Object Model To get these values using ECMA script use below link
http://www.c-sharpcorner.com/UploadFile/anavijai/get-created-by-and-modified-by-values-from-sharepoint-2010-l/ using Client side object model https://msdn.microsoft.com/en-us/library/office/ee534956%28v=office.14%29.aspx?f=255&MSPPError=-2147217396
Using server Side Object model
http://www.sharepointcto.com/View.aspx?id=15
Whenever you see a reply and if you think is helpful,Vote As Helpful! And whenever you see a reply being an answer to the question of the thread, click Mark As Answer
Similar Messages
-
I have made a burn folder with photos exported from I-photo. It now shows in information, that the date created and modified is different from the original digitized date. How can I get the original date to show in the info from Finder?
The Finder reports File information. The date and time of the photo are in the Photo's Exif metadata. The Finder has no awareness of this. All photos apps on any system do.
Regards
TD -
How to get BP kind based on user name?
Hi,
How to get BP kind based on user name?
Is there any table other than BUT000 which gives the Business partner no. and BP KIND?
What is BLUEPRINT table?Hi John,
do you mean Type:
1 Person
2 Organisation
3 Group
or Role like
000000 Business Partner (General)
BBP000 Vendor
BBP001 Bidder
BBP002 Portal Provider
BBP003 Plant
BBP004 Purchasing Company
BEA001 Billing Unit
BUP001 Contact Person
BUP002 Prospect
BUP003 Employee
BUP004 Organizational Unit
BUP005 Internet User
The Role can be found in BUT100.
Regards
Gregor -
How to get Current Log in BO user name in data access driver
In universe, to get the current log in user is via @Variable('BOUSER').
Right now, I need to be able to get the user name in the data access driver. I am writing a customized data access driver because we need to patch some where clause on the the query generated by the universe based on the logged-in user info. I only think of using end_sql parameter or adding an universe level filter to patch the @Variable('BOUSER') to the query, which would not work if user want to use customized query.
Can anyone tell me how to get currentBO user name from connection server ? or how @Variable('BOUSER') is translated into the logged-in user name in the universe?Shweta,
The link you provided was the Auditor guide for BO 6.x, I'm not sure it that is going to help Karen or not.
Karen,
There is function called connection
(usage: =connection([Query Name]), where [Query Name]
denotes the name of the tab for the query under Edit Query)
Here is some of the output from connection:
4;ODBC18;MS SQL Server 2000166; VERSION=7; USER=xxxxx;
PASSWORD=; DBTYPE=Relational; DATABASE=xxx_xxxx;
ODBC_USER=xxxxxx; ODBC_PASSWORD=; BO_DSN=xxxx_xxxx;
BO_DRV_CONNECT_MODE=0; 224; VERSION=6; Name=xxxxx; Shared=4;
LoginTimeout=600; Timeout=600; Pool Time=60; Array Fetch Size=10;
Array Bind Size=5; RecommendedLenTransfert=1000; Password_Encryption=x;
AliasTable=; MeasureDimension=; Hint=; ConnectInit=; ArrayFetch=1;
I'm not sure if this info helps out either, being that connection provides info on a post-processing basis and it sounds like you need to get out ahead of the SQL generation. The @variable('bouser') would seem like the place to be, however, in allowing custom SQL to take place you loose the bouser due to an individual could customize the SQL to the point that it gets unwantingly yanked out. The end_sql might be your answer...
Thanks,
John -
How to get Request object and LDAP user
Hi All,
How to get Request object, coz i want to see the out put of this code
IUser myUser = request.getUser();
String uid=myUser.getUid();
I want to get only LDAP user from the server, for that i am having code but i think this code is returning me all user from the server.
com.sap.security.api.IUser user = null;
try {
IUserFactory userFactory = UMFactory.getUserFactory();
IUserSearchFilter searchFilter = userFactory.getUserSearchFilter();
ISearchResult searchResult = userFactory.searchUsers(searchFilter);
int count = 0;
List list = new ArrayList();
while (searchResult.hasNext()) {
count++;
String uniqueid = (String) searchResult.next();
user = userFactory.getUser(uniqueid);
list.add(user.getUniqueName());
This code is giving me all user from the server LDAP and as well as portal user.
But i want only LDAP.
Please help me out. It's urgent.
Regards,
DeepakHi
use the following code
//Request
IWDRequest = WDProtocolAdapter.getProtocolAdapter().getRequestObject();
//User
IWDClientUser = WDClientUser.getCurrentUser();
Regards
Ayyapparaj -
Net Install, Creating and Preserving User Names & Prefs
Hi
I have 10.3.9 Server and a few 10.3.9 and 10.4.9 clients with iMacs, eMacs, Macbooks etc. I would like to install (not boot) from the server but I cant find much info about it except the Help which doesnt cover my question which is:
1. How do I create a new unique user name for each machine if they are all installing from the same disk image?
2. Can I preserve the desired prefs for each machine (they are all mostly the same but not all) How about for all the apps such as Office X, Firefox (incl Bookmarks), Scanning Software, OCR, VNC etc etc and other stuff like VPN which only the laptop users need.
3. Regarding the 4 Sight Network Fax, Each user needs to log on with its own password - Does Net Install cope with this? If so how without a unique installer for each user?
4. I realise I can create a served .pkg file that all can access but then I would have to manually set the prefs for each app (wouldn't I?).
I gues my quesiton boils down to:
How do I set up some kind of image that will include the OS, the Apps and all their finely crafted prefs but have flexibility when it comes to variations in finder and app prefs across the group to save time.
(How you ever spent time customising Word and Excel VX menus and finding the changes don't stick!!)
Hope someone out there has done this before!
Many thanks
G4 Tower & Clients Mac OS X (10.4.9) OS 10.3.9 Server
G4 Tower & Clients Mac OS X (10.4.9) OS 10.3.9 ServerThanks Camelot
From your text I understand that I can put a disk image of OS and Apps on the server as a network install to install new and update existing clients. After that, I create a "home directory" on the server for each client and populate it with the correct prefs for the finder and apps.
At each startup the user doesnt know it but all their prefs are coming down from the server, as a result they can log in anywhere on the network adn everything is as they left it!
If thats right, then after new system setup, how do I effect a standard suite of prefs for each client without repeatedly setting up each one? How about clients that have some prefs set slightly differently (like that fax server which needs unique pwd for each client)? Finally, what if I need to distribute a new app pref to each client?
Many thanks
G4 Servers, iMacs, eMacs, Powerbooks & MacBook Mac OS X (10.4.9) Many other Apple computers on my network. -
How to get the Full and final settelment date from PC_payresults
Hi Experts..sairam.
We are preparing Functional specification for a report on Full and final settelement.
We need to extract the full and final settelement date from payresults.
Full and final settelement would be an offcycle run.
How can we identify the particular Offcycle is meant for full and final settelment.
Full and final settelement can be done after date of relieving.
Please share your ideas to get the field names and logic to fetch.
Thanks in advance.
Regards,
Sairam.Hi Praveen,
I found it from HRPY_RGDIR through SE11.
But im in confusion in thinking on Logic to find the Full and final settelment processed date.
First of all..Report has to check WPBP table weather Employment status is Zero.
Later..It has to read the HRPY_RGDIR table.
Here what the system to check.What conditions to be validated to fetch the Full and final settelment processed date.Will it be FPPER and INPER as 00000000 or shall we do it from offcycle reason.
Please share your ideas.Thanks in advance.
Regards,Sairam. -
How to get RFC Destination and Logical System name dynamically
Hi all,
I have a RFC FM written in CRM. I need to call this FM in R/3. So, i use the syntax " Call function <func> destination <destination name>. My problem is that i need to fetch the destination name dynamically..
There is a way to do so in CRM which is as follows:
DATA: lt_siteselect TYPE TABLE OF siteselect INITIAL SIZE 0,
ls_siteselect TYPE siteselect.
CALL FUNCTION 'SMOF0_READ_SITESELECT'
TABLES
to_siteselect = lt_siteselect.
READ TABLE lt_siteselect INTO ls_siteselect
WITH KEY sitetypeid = cl_smw1_siteprovider=>c_sitetype_r3oltp.
The above piece of code returns the site and also takes care of the client you are currently working on. But the specified FM is present only in R/3..
I want to achieve the functionality fulfilled by the above code in R/3.
Kindly help.
Useful answers will be rewarded.
Thanks in advance,
Karan Merwana
I can not use FM LOG_SYSTEM_GET_RFC_DESTINATION as for that i need to provide the logical system name. And the logical system name would be different for different clients.
Message was edited by:
Karan MerwanaFor those referring this thread later, I could not find a solution to this and ultimately had to do away with hardcoding of system names based on the DEV, Q, and PROD system names.
If anyone does manage to get a workaround, please let me know. -
Populate User Name from Sharepoint Server to Certificate
Hello:
I work for a govt contractor and we are loading our CBT on a Sharepoint server. The server guys have created a hidden field within my HTML file called
Input html ID: CBTUserName
So when the user accesses the CBT from the Sharepoint Server (which is NOT an LMS) their User Name populate.
Now I need to get that user name to populate in the Certificate so that users are NOT required to type their name. Our customer (military) does NOT want to ask users to type in their name they want it automatically populated from accessing the CBT through the server.
HELP- I am a beginner and don't know where to start or what to do.
Thank you!Oh and you can email me directly at [email protected]
I appreciate any help I can get. -
am trying to print usps labels but Firefox won't open the relevant web page
thank you
bil mciver
[email protected]Details like websites remembering you (log you in automatically) are stored in a cookie.
*Create a cookie 'allow' exception to keep such cookies, especially in case of secure websites and when cookies expire when Firefox is closed.
*Tools > Options > Privacy > "Use custom settings for history" > Cookies: Exceptions
*http://kb.mozillazine.org/Cookies
*https://support.mozilla.org/kb/Deleting+cookies
In case you are using "Clear history when Firefox closes":
*do not clear the Cookies
*do not clear the Site Preferences
*Tools > Options > Privacy > Firefox will: "Use custom settings for history": [X] "Clear history when Firefox closes" > Settings
*https://support.mozilla.org/kb/remove-browsing-search-and-download-history
Note that clearing "Site Preferences" clears all exceptions for cookies, images, pop-up windows, software installation, passwords, and other website specific data.
Clearing cookies will remove all specified (selected) cookies including cookies with an allow exception that you would like to keep. -
How to get the table and column details out of desinger database design?
what is the relation between ci_table_definition, ci_columns, ci_constains and ci_check_constaints?
I want to get the report on table detail of tablenames, column names, comments, datatype+length and check constraints.
thanksHi,
The link is pretty straightforward:
ci_table_definitions.id = ci_columns.table_reference
(also correct: ci_table_definitions.ivid = ci_columns.parent_ivid)
ci_table_definitions.id = ci_check_constraints.table_reference
Remember to set the Workarea Context - jr_context.set_workarea(' Name of Workarea') - before you start querying, especially when your Repository is versioned.
good luck.
Lucas -
Get IP Address For a user name from Terminal
hi experts,
Can any one help me in finding the IP address for a user id.I want to find the ids for multiple logons.
I tried using TERMINAL_ID_GET but it returns the IP only based on the user id.So i am getting only one IP.
I tried with CL_GUI_FRONTEND_SERVICES=>GET_IP_ADDRESS and faced a same problem.
So i want t find the IP address with respect to user id and Terminal ID.
With thanks in advance,
Syed Ibrahim . GHi,
just check transaction SM04 (or program RSM04000_ALV). The program determines also the terminal ID and the IP adress.
if long_usr_list = th_true.
call 'ThUsrInfo' id 'OPCODE' field opcode_long_list
id 'TABUSR' field usr_tabl-*sys*.
else.
call 'ThUsrInfo' id 'OPCODE' field opcode_list
id 'TABUSR' field usr_tabl-*sys* .
endif.
Such calls usually should not be used. But anyway. Maybe this is helpful.
Kind regards
Rudi -
How to know whether file is modified or metadata from SharePoint Document Library version history
I have uploaded a document in document library. I am writing code to retrieve the items from the library only if document is modified, not the metadata.
So if for an item only metadata is modified then it should not come, if document is modified then it should come. I tried from version history but it doesnt work. Any idea?
Mark ANSWER if this reply resolves your query, If helpful then VOTE HELPFUL
INSQLSERVER.COM
Mohammad NizamuddinEach file has an associated SPListItem which contains the metadata. See if the SPFile.TimeLastModified reflects the file and not the metadata.
http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spfile.timelastmodified.aspx
Dimitri Ayrapetov (MCSE: SharePoint) -
How to get the Current Document Library View Name from Code - C#
Hi,
I have a requirement where i have a doc lib - doclib and two view view1 and view2.The columns vary for the two views.
Now a user can select and of the two views and do a particular operation.
I need to programatically find out which view the user is currently at.Now i know that just by picking the URL i can understand if its doclib/view1.aspx or doclib/view2.aspx. But this is not possible as my scenario
because of an architecture limitation of my project.
Is there any way to find out the view like libraray.currentview or using spview.
I need to make so column updates based on the view selected.
Please help.Try below code as you in the SharePoint context.
Guid siteId = SPContext.Current.Site.ID;
Guid webId = SPContext.Current.Web.ID;
SPSecurity.RunWithElevatedPrivileges(delegate()
using (SPSite site = new SPSite(siteId))
using (SPWeb web = site.OpenWeb(webId))
// Your code here
Hope this will helps you
Senthilrajan Kaliyaperumal -
I have two user names with Administrator privelages and my MacBook keeps booting up to the wrong one and I have the wrong configuration since I updated to OSX 10.9. I would like to get back to my original User name which I used to boot up to. When I go to the User Groups and Preferences it doesn't allow me to delete the un-wanted user.
Does anybody have any suggestions how I can fix this? I can't seem to recover Time Capsule back-ups prior to the OSX upgrade even though I have been faithfully backing up to a Time Machine.
Help please.First of all, open System Preferences > Users & Groups > Login Options, and set your old user account in "Automatic login". By doing this, your computer will always log in with your old account.
Then, log in your old account, where you will be able to delete the new user that OS X Mavericks forced you to create. Other users have reported the same problem
Maybe you are looking for
-
IPhone 5 no longer connecting to home wifi after adding new iPhone 5s
I just bought my husband a new iPhone 5s and successfully connected it to our home wifi; however, now my iPhone 5 won't connect. All other home devices will connect without an issue. I've tried Reseting the Network Setting on my iPhone and that does
-
PR and RFQ usage upto the target quantity
Hi, How to restrict the PR and RFQ up to the target quantity as a reference. The PR and RFQ should not be available, after the target quantity as a reference. Thanks in advance Vikram
-
Load Balancing 2 ISP connections on Cisco Router
Hi all, I have a Cisco 3900 series Router with the following characteristics: Cisco IOS Software, C3900 Software (C3900-UNIVERSALK9-M), Version 15.0(1)M2, RELEASE SOFTWARE (fc2) I have two VDLS connections, my ISP cant really offer good speeds, so we
-
Suppress highlighting for parent paragraph style
When one paragraph style is based on another paragrash style, and you click inside the child style with the Type tool, both the parent and child styles are highlighted in the Paragraph Styles panel. This makes it confusing as to which paragraph style
-
Encore CS5 transcode terrible quality
Hopefully someone can guide me to getting better quality from a CS5 DVD. Source video is high def footage from Canon HFM41 camcorder. I edit in Pinnacle Studio on a PC. In the case of this project, the end video is 36 minutes in length. I output t