Home
TeamSite
TeamSite, LiveSite and OpenDeploy
iwquerytasks returning too much data
Denise Bowker
Win2k
TS v: 5.5.2.1 11020 20020823
If I run iwquerytask with the input of:
<taskquery>
<and>
<or>
<ownedby v="mydomain\ddb">
<sharedby v="mydomain\ddb">
</or>
<active />
</and>
</taskquery>
I get back the correct set of tasks
However If I put in a userid that doesn't exist (like: theirdomain\ddb) I get back all group tasks that currently don't have an owner. My assumption is that the SID for 'theirdomain\ddb' is 0 or blank and 'no user' is also 0 or blank. Not only that but it takes FOREVER (10 seconds) to get that list back.
Here's my dilemma. We have some users who move from one domain to the other (without much warning) who have workflows that are assigned to the old domain. I want to get the list of all jobs in both domains for all user ids just incase they moved. But what happens is that users who have not yet migrated can see all the grouptasks that are 'unassigned'.
Has anyone run into this?
Find more posts tagged with
Comments
There are no comments yet