Oh.. don't listen to him. He's a superstitious idiot.
Why, just last week I noticed that rabbit's foot he carries around in his pocket.
So, anyway, will I see you at church this Sunday so we can each pay homage to God, that he may be merciful and give us everlasting life?
Trying to pick a fight, are ya? :)
The obvious difference is that there is zero evidence that carrying a rabbit's foot does anything at all (thus, it's strictly superstition), while there is ample evidence that there is a creator worthy to be praised. It's hardly a superstition, though people enjoy characterizing it as such (admit it! :).
Also, people don't (or at least shouldn't) go to church in order to appease some cosmic kill-joy in order to gain everlasting life, as though it is some sort of reward for what we do.
So there! :p
You're just lucky I'm busy at the moment. Otherwise I'd lay out a logical explanation in defense of Christianity the likes of which you would be powerless to deny. You'd be begging to get into to church. It would be remarkable; almost pitiful in a way.
But no, for now I must wrestle with System.DirectoryServices and wonder why no one saw the value in creating some classes therein that aren't horribly broken.
Hey, I forgot to ask -- how was Scotchtoberfest? Wemmywinks!
Also, are Americans allowed to use the phrase "no wukkas"?
> Also, are Americans allowed to use the phrase "no wukkas"? <
I'm surprised an American hasn't patented it already.. :)
Of course you can use it!
What's wrong with Directory Services.. following code keeps returning null..? :)
set entity = getobject("LDAP://cn=God,ou=Heaven,dc=universe,dc=example,dc=com")
Patent it... why didn't I think of that already!?
Well, to be honest it's probably less Directory Services and more me/us. Getting permissions right seemed to be rather difficult.
My complaint is that it's just not very "managed" yet, it seems -- very few useful abstractions in the framework. So to determine whether an account is disabled I have to get the value of "(userAccountControl & 2)"; to get lastLogon I have to ComImport IADsLargeInteger and shuffle bits around to create an Int64 filetime value. That sort of thing.
As you demonstrate, it would be easier using VB6 (or VBScript, for that matter). Not that I'd even consider it at this juncture, at the apex of my C# biggotry. ;)
How 'bout the Scotch?
I didn't have as good a time as usual. Was tired, and sat around wanting to play a game for about an hour while others were eating, then I fell asleep. And my team lost at woor at least twice.. :(
Apart from that, it was awesome! :)