blackf0rk


Member since 2009

8 snippets

18305 profile views

1 Comment(s) Posted

View their favorites

Profile

Achievement

first submission:submitting first snipplet

blackf0rk's Recent SnippetsTagged sharepoint



« Prev 1 Next »
0 1998 posted 16 years ago by blackf0rk
0 2192 posted 16 years ago by blackf0rk
An important thing to keep in mind about adding groups is that you add groups to site collections and not webs. To do this, we access the SiteGroups collection rather than the Groups collection. In order to assign permissions, each group you add n...
0 2139 posted 16 years ago by blackf0rk
This will delete all items in a SharePoint list. Better than looping through a SPListItemCollection and doing a .delete();
0 2228 posted 16 years ago by blackf0rk
In order to accurately get the next ID from a SharePoint list you need to access the content database for one reason: If you delete all the items from a list, and execute this simple code: list.Items[list.ItemCount -1].ID) + 1 the ID will always retu...
0 1786 posted 16 years ago by blackf0rk
Execute this commend to add users to SharePoint
0 1798 posted 17 years ago by blackf0rk
This command will fix the “The list is too large to save as a template. The size of a template cannot exceed 10485760 bytes." error when saving a list (including content) that's too big.
0 1749 posted 17 years ago by blackf0rk
« Prev 1 Next »