Sharepoint Answers

 
Home » Forum » Sharepoint       Ask a questionRSS Feeds
  Question Asked By: Loren Roberson   on Mar 08, 2003 In Sharepoint Category.

 
Question Answered By: Kendrick Townsend   on Mar 08, 2003

This method GetSubwebsForCurrentUser always returns an SPWebCollection object
immaterial of the user  having rights  or not. But when i try to access  the
webCollection.Count it raises an exception., i.e.

the condition if ( !webCollection ) or if ( webCollection!=null ) evaluates to
true.

but if you try to do a webCollection.Count it throws an exception.

So how do i check if the SPWebCollection object is usable or not?

Tagged:    

 

This Question has 1 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on User rights Or get search suggestion and latest updates.