Browse by Tags
All Tags »
WSS/MOSS/SPS (
RSS)
SharePoint portal logged in user context can be changed programatically by using SPSite object. SPSite object provides overloaded constructor which takes SPUserToken as parameter. Following code snippet shows how logged in user context can be changed...
1. How do you add items into Choice Site Column type Using (SPSite site = new SPSite("http://myWssDemo:2100")) { using (SPWeb web = site.OpenWeb()) { SPField spField = web.Fields["MyChoice"]; SPFieldChoice choiceFields = (SPFieldChoice...
BDC adalah salah satu kelebihan antara MOSS dengan WSS 3.0. Feature ini hanya ada di MOSS. Oleh karena itu karena saya selalu menggunakan WSS 3.0 untuk client jadi sampai saat ini saya belum sempat bermain dengan MOSS dan bisa mencoba tools ini. Untuk...
Check this code, with in this code you can add user to WSS/Moss by code. private SPUser CreateUser( string strLoginName, string strEMail, string strName, string strNotes, string strSiteURL) { SPUser spReturn = null ; SPSite spSite = null ; SPWeb spWeb...
using System; using System.Collections.Generic; using System.Text; using System.IO; using Microsoft.SharePoint; namespace TestUploadFile { class Program { static void Main( string [] args) { // Read a document off the c drive and open a stream FileStream...
Have you ever gotten an out of memory exception on your SharePoint web front ends and wondered why? Or how to prevent it? I started getting this error periodically, and through such experiences have drawn several best practices for managing the memory...
SPWeb has a "CurrentUser" attribute which gives you a SPUser object. the GetAssignmentByPrincipal function of the RoleAssignments collection of the SPWeb object will get you what roles the current user has. here is an example: SPWeb web = SPControl...
Please click this link : http://hristopavlov.wordpress.com and http://www.spsfaq.com Many of usefull article you can find it and it is all about Mos/WSS 3.0. Share this post: | | | |
If you want to set permission as anonymous user in sharepoint may be you can see this articles http://blogs.devhorizon.com/reza/?p=498 http://www.sharepointplatform.com/teamblog/Lists/Posts/Post.aspx?List=427bfca2-b731-4c19-87c6-83c90460e02c&ID=29...
Check this out this link : http://sharepoint-interview-questions.blogspot.com/ . Share this post: | | | |
How to create a RichTextBox on WSS 3.0 / Moss. Ho ho... is so easy you don't have to used other control or third party to implement this. I will give you a example and code how to implement RichTextBox on the WSS 3.0. <textarea name="txtTextArea1"...
Hari ini 28 Mei 2008 tepatnya jam17.30 sore sampai ke tempat salah satu client perusahaan saya bekerja. Client kami ini sudah kami lewati masa installasi di semua cabang untuk melakukan transaksi dengan aplikasi kami di pusat dengan server dummy kami...
Check this out : http://community.bamboosolutions.com/blogs/bambooteamblog/archive/2008/05/21/how-to-install-windows-sharepoint-services-3-0-sp1-on-vista-x64-x86.aspx. Share this post: | | | |
Bila kita mempunyai suau SPListItem dimana item kita tersebut mempunyai field dengan type person / group untuk mendapatkan user tersebut kita bisa lakukan dengan 2 cara yaitu : public void GetUser() { SPUser user; string s; string [] split' using...
Tadi malam ngobrol ama client dan ada request untuk tidak bisa menghapus document yang di buat tetapi user tersebut punya hak akses untuk create document / upload document. Daripada pikir panjang untuk menghapus link delete item di context menunya akhirnya...
More Posts
Next page »