First off, you posted to the wrong forum. This one is for posting scripts and there is no script in your post.

As for not finding anything, not sure what search terms you tried because I know for a fact there are UDFs posted cuz one of them GetSID() is mine.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.