wss

Adding variables to a Data View's RootFolder QueryStringParameter (Sharepoint WSS3.0)

I currently have pages on my site with several xsl dataview webparts. Each dataview webpart shows the contents of a different folder in the same list. I've accomplished this by changing the querystringparameter name for each list view to its own unique name (ie. "R1", "R2", "R3", rather than all being "RootFolder"). The querystring in th...

How to get SPUser Object using user id (domain_name\userid)

I have the login ID of that user. But in the code I want to convert that login name into SPUser Object. Can I convert LoginName(type string) to SPUser. Or is there any way to convert windows identity user token to SPUser. I am adding users to a spgroup(so does not exist on the site). All I have is windows user token. Thanks ...

WSS 3.0 managing multiple versions of the same document in a parallel development environment

We are using WSS 3.0 at work to manage design documents for our systems. We work in a parallel environment which means we usually have a production copy of a document (e.g Doc A) plus also two or more versions of that document that will be worked on by independent project teams (Doc A (proj 1) & Doc A (proj 2)), we have in the past achi...

WSS 3.0 Cannot create list instance

I have created three features - fields, content types and lists. I deployed the solution and everything was fine. However, I deleted my list instance from the Lists section in my site. Now I cannot create it again. I tried to deploy the solution again but no instance was created. How can that be done? <ListInstance Id="2" Title="My Cont...

WSS tools for VS2008 directory question

Hi, I want to place an aspx inside the TEMPLATE->LAYOUTS folder of the server running WSS. Should I create the same folder structure under the pkg folder of visual studio or under the project root? In other words should I do this pkg->TEMPLATE->LAYOUTS or this project root->TEMPLATE->LAYOUTS Also where should I place the elements.xm...

Why do I get 401 UNAUTHORIZED when I'm entering to WSS 3.0 site?

Hi, When I'm opening for the first time my webpage on WSS 3.0 I always get 401 UNAUTHORIZED. I was trying a lot of resolutions from Google results. I disabled loop back check. Added administrator rights for sharepoint account. I have to add that I'm using anonymous access to default site. Can anybody help me to resolve this issue? Pleas...

Copy permissions from one user to another user - SharePoint

Hello I want to copy the permissions of a user and to another user. I know i can do it by creating a group with required permissions and adding the users will do it. But i dont want to create a group. Is there a way to copy the permissions of a user to another user directly? NLV ...

Detecting dead accounts and cleaning them from a SharePoint site

Hello I've been asked to create a solution which detects the dead accounts and cleans it up from a SharePoint site. I found a code snippet here (in the comments) which checks each user against the AD and cleans up the account. But the LDAP details are hardcoded in the code. What happens if i want to detect it dynamically and check the ...

WSS 3.0 Authentication mode

Hi, I have two questions on wss 3.0 How to know that kind of authentication is currently in use. How do I set the authentication in such a way that users on office network don't have to input user name\password? So if users are in the office they can just go straight in without using a password? Those outside the office will obviously ...

wss 3.0 FBA site prompting for client certificate on 'export to spreadsheet'

Hi all, I have a wss 3.0 site set up to use FBA in default zone, configured with an SSL cert and running on windows server 2008 with reporting services integration configured. When I log in and try to 'export to spreadsheet' from a list, it downloads 'owssvr.dll', then excel opens and prompts me for a client certificate. Depending on ...

Sharepoint: Only view user created items in a custom list

I have Sharepoint 2007 Standard and am using a Custom List to create a simple form. I only want all the users to view thier own created items in the list. ...

Where is the NavBar ID defined for List Definitions?

I have observed that certain list/library types are created within specific NavBar "Quick Launch Headings" (ie. Document Libraries are created under "Documents" - ID="1004"). Where is this defined? I would like my custom list and library definitions to be added to specific headings when "Display this list on the Quick Launch?" is set t...

Denying permissions by default in WSS 3.0

Windows 2003-32bit IIS6 WSS 3.0 (No MOSS Installation) WSS is installed on the Domain Controller (Active Directory). (Not something I did or would do!) WSS is set to NOT allow anoymous access BUT it was at some other time in the past. SSL has been installed and the Web Site on a different website than the original WSS Site when the app...