Sign In
SaurabhKV
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
Email Blog Author
RSS for posts
Atom
RSS for comments
OK
Search
Advanced search options...
Search In:
Everything
Blogs
Forums
People
Groups
Places
Pages
Date range:
All Time
Last Year
Last 6 Months
Last 3 Months
Last Month
Last Week
Last Two Days
Tags
CQWP
InfoPath - Get the current user without writing code
Localization in InfoPath form
MOSS
SharePoint
Site Navigation Settings
Archive
Archives
March 2010
(1)
January 2010
(1)
December 2009
(1)
October 2009
(2)
July 2009
(2)
June 2009
(20)
September 2008
(5)
August 2008
(1)
July 2008
(1)
June 2008
(6)
May 2008
(27)
June, 2008
MSDN Blogs
>
SaurabhKV
>
June, 2008
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
SaurabhKV
Microsoft SharePoint Team Blog
Posted
over 4 years ago
by
itsmeskv
1
Comments
Here you go
SaurabhKV
RunWithElevatedPriviliges is not running with elevated priviliges!!!
Posted
over 4 years ago
by
itsmeskv
0
Comments
Here is code which works for me, public interface IRemoteMethods : IDisposable { void createUserProfile(); } public class RemoteMethods : MarshalByRefObject, IRemoteMethods { public void createUserProfile() { //Code to create User Profile...
SaurabhKV
RunWithElevatedPriviliges and UserProfile
Posted
over 4 years ago
by
itsmeskv
2
Comments
" RunWithElevated() does an ImpersonateSelf(), so the thread is impersonating the process identity . Also, all SPSite objects created within the RunWithElevated() scope are treated as SHAREPOINT\system, have full control over the site. But it does...
SaurabhKV
The Explorer extension the framework installs to view the GAC
Posted
over 4 years ago
by
itsmeskv
0
Comments
You can also map a drive directly to your GAC and then you'll be able to see the actual directory structure. Go into command prompt and type: subst z: %windir%\assembly\gac I got this info from http://weblogs.asp.net/jkey/archive/2003/02/25/3006...
SaurabhKV
Creating a SPListItem in a SPFolder
Posted
over 4 years ago
by
itsmeskv
1
Comments
SPSite site = new SPSite(" http://[ServerName/sitename ]"); SPWeb web = site.OpenWeb(); SPList list = web.Lists["ListName"]; SPFolder f = web.GetFolder(" http://[ServerName/sitename]/Lists/ ListName /FolderName " ); if(f.Exists) { SPListItemCollection...
SaurabhKV
ADD SPFieldType.Choice, SPFieldChoice with SPChoiceFormatType.RadioButtons
Posted
over 4 years ago
by
itsmeskv
2
Comments
using Microsoft.SharePoint; using System.Collections.Specialized; public void OnActivated(SPFeatureReceiverProperties properties) { SPWeb web = (SPWeb)properties.Feature.Parent; string url = new Uri(web.Url).AbsolutePath; SPDocumentLibrary docLib = (SPDocumentLibrary...
Page 1 of 1 (6 items)