It's not clear from the original posting whether there was an altermate
action on if they didn't match ( there is no closing brace, so it
looks like a snippet rather than the whole routine.)
If the only thing that the routine does is check the validity of the
user ID and return true/false, then
return (UserIDs == ThisUserID);
does suffice.
Alan.
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.