CopyCat: Using Built-in WebServices to Copy Document Library Permissions Across Servers

  Here’s a sample console application written in C# which will copy the permissions from one document library to another using the built-in Permissions.asmx WebService.  Note that this sample does not account for cross-domain use, etc.  This will *only* work if the same users exist on the destination.  Overall, this is a fairly rough sample,…

0

Alert Me: Parameters Passed to SearchAlertType.GetAlertCreationLink()

  The SDK documents the GetAlertCreationLink() method as part of every class in the Microsoft.SharePoint.Portal.Alerts namespace.  However, if we want to utilize this method in some way — for example, to generate our own “Alert Me” link on a custom search page — the documentation is not quite sufficient.  Here’s how the SDK defines the…

2

Finding Ghosts: Programmatically Determining Ghosted/Unghosted State

  First, some terminology.  The terms “ghosted” and “unghosted” get thrown around a lot when talking about SharePoint site definitions, and all too often, they are used incorrectly.  Here’s the deal:   Ghosted:  a ghosted page is one that is read directly from the site definition on the filesystem. Unghosted:  an unghosted page is one…

49