Click here to Skip to main content
       

Sharepoint

 
GeneralRe: How to make a sharepoint page accessible to all and settings custom themes based on User Pinmemberbalaji101012-Nov-12 0:58 
GeneralRe: How to make a sharepoint page accessible to all and settings custom themes based on User Pinmemberihoecken12-Nov-12 1:17 
GeneralRe: How to make a sharepoint page accessible to all and settings custom themes based on User Pinmemberbalaji101012-Nov-12 1:41 
Question[SOLVED] Unable to add webpart to page from script, but successfull from command line using same code [modified] Pinmember_HawkeyeD5-Nov-12 10:41 
AnswerRe: Unable to add webpart to page from script, but successfull from command line using same code Pinmemberihoecken6-Nov-12 3:05 
GeneralRe: Unable to add webpart to page from script, but successfull from command line using same code Pinmember_HawkeyeD6-Nov-12 5:04 
AnswerRe: Unable to add webpart to page from script, but successfull from command line using same code Pinmember_HawkeyeD9-Nov-12 7:30 
QuestionAdding users to the default members group PinmemberAptiva Dave1-Nov-12 9:17 
I was wanting to build a web control that did a few things for admins of a site. One of the processes was to add a user to the default members group of the site along with some other security settings. This was to help admins do all of this on one page instead of going to each group individually to add a user.
 

Here is the code I am currently using to accomplish this:
 web.Groups("AR Test Site Members").AddUser(newStaff.User)
 
This work fine on my test site, but when I move it over to production that group name will change to the [Site Name] Site Members. I noticed that you could also used an index of the group instead of the name, so I used '5' because I noticed that was in the query strings for the address to look at the group members. When I used '5', I get an argument out of range error. How can I find the index number of this default group so that when I build the code I don't have to worry about finding out which site I'm on?
AnswerRe: Adding users to the default members group Pinmemberihoecken4-Nov-12 21:54 
GeneralRe: Adding users to the default members group Pinmemberbalaji10108-Nov-12 1:12 
AnswerRe: Adding users to the default members group [modified] Pinmemberihoecken8-Nov-12 1:21 
GeneralRe: Adding users to the default members group Pinmemberbalaji10108-Nov-12 1:33 
AnswerRe: Adding users to the default members group Pinmemberihoecken8-Nov-12 1:36 
QuestionSharePoint Standard 2007 to SharePoint 2007 Enterprise Pinmemberfmorales0931-Oct-12 11:24 
AnswerRe: SharePoint Standard 2007 to SharePoint 2007 Enterprise Pinmemberihoecken4-Nov-12 21:48 
QuestionNot been able to log into SharePoint site after deploying new WSP PinmemberNetMan201229-Oct-12 23:21 
AnswerRe: Not been able to log into SharePoint site after deploying new WSP Pinmemberihoecken30-Oct-12 0:06 
AnswerRe: Not been able to log into SharePoint site after deploying new WSP Pinmemberarunkumaryoyo31-Oct-12 20:52 
Questionshare document can detete by only who can uploaded not to others PinmemberHemadriT26-Oct-12 6:19 
AnswerRe: share document can detete by only who can uploaded not to others Pinmemberihoecken28-Oct-12 23:35 
GeneralRe: share document can detete by only who can uploaded not to others PinmemberHemadriT1-Nov-12 5:53 
AnswerRe: share document can detete by only who can uploaded not to others Pinmemberihoecken4-Nov-12 22:01 
QuestionHow to host sharepoint site in IIS PinmemberHemadriT26-Oct-12 5:22 
AnswerRe: How to host sharepoint site in IIS Pinmemberihoecken28-Oct-12 23:38 
QuestionPickerEnity question PinmemberAptiva Dave23-Oct-12 9:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web01 | 2.8.1411028.1 | Last Updated 26 Nov 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid