Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Userid element ALWAYS forces authentication

  Asked By: Eugene    Date: Nov 06    Category: Sharepoint    Views: 1021

The SPS sdkdoc says that the CAML "UserID" element has a "Type"
attribute that "If the Type attribute is present and nonempty,
instead of forcing authentication, the element renders an invalid
user ID of -1 for anonymous users."

I used it in a custom list schema and it always forces authentication
(even with the nonempty Type attribute). here is the code I used:

<UserID Type="TRUE" />
<Case Value="-1">
<HTML> anonymous </HTML>
<HTML> authenticated </HTML>

It causes authentication while it shouldn't. Please help. what is
wrong with it?



No Answers Found. Be the First, To Post Answer.

Didn't find what you were looking for? Find more on Userid element ALWAYS forces authentication Or get search suggestion and latest updates.