Blog about Microsoft technologies, Office System, SharePoint, MOSS, WSS, Search and "The new world of work"
in

Monday, February 18, 2008 - Posts

  • Mon

    Getting / Downloading a file from a SharePoint Library by using WebClient

    The following code can retrieve a file from a SharePoint library by suing the WebClient class. You will need the credentials of the SharePoint site to create a connection. The file is retrieved as binary and stored into a local file. Eventually you get an FileStream object back pointing to the downloaded file. byte[] binFile = null; System.IO.FileStream fs = null; System.IO.BinaryReader rdr = null; string tempFileName = "C:\\tmp"; string url = http://portal.demo.nl/lists/doclib/mydoc.docx...
  • Mon

    SiteGroups, Roles and Users, How are they connected?

    During one of our projects we needed to create a new SiteGroup, add users to it and define some roles.The following code can be used for adding a SiteGroup to a site in WSS or MOSS. SPWeb currentWeb = SPContext.Current.Web; SPUser currentUser = currentWeb.CurrentUser; currentWeb.SiteGroups.Add("MyGroup", currentUser, currentUser, "My new group"); Then we need to get the group based on its name and add the roles to it based on the names of the roles. SPGroup group = currentWeb...
  • Mon

    Limited Access permission level

    The Limited Access permission level is designed to be combined with fine-grained permissions to give users access to a specific list, document library, item, or document, without giving them access to the entire site. However, to access a list or library, for example, a user must have permission to open the parent Web site and read shared data such as the theme and navigation bars of the Web site. The Limited Access permission level cannot be customized or deleted. You cannot assign this permission...

Subscriptions

News

SlideShare.net
I'm using SlideShare.net for sharing my presentation material. You can find it here

Dutch SharePoint User Group
The Dutch SharePoint User Group is an independent social network for people to collaborate and share information around SharePoint Technology and products. By learning from others you can improve your skills and expertise, around areas, which are then again a benefit to the social network. This platform is a community platform for SharePoint developers, architects and designer who want to share information, tricks, code and content. Its also a good starting point for people without SharePoint knowledge who are interested in SharePoint Technology. Read more

Oktober 2008 i'm working for a new company called Sparked. The new world of work causes organizations to re-think about their ways of communication and interaction with their customers.

Increasing usage of web technology and the new generation workers brings changes into these organizations.

Sparked helps these organizations to accelerate adoption of this technology platform to effectively use it around content management, content exposure and collaboration.


April 2008 i have been to the first SharePoint Conference in Dubai. Dubai is an overwhelming town with a lot of passionate people. I had a great time. Thank you my friends!



You can also find my on Facebook

Tags

Alexander Meijers

Previous Blog about SharePoint