[Win32utils-devel] win32-taskscheduler andTaskScheduler#account_information
djberg96 at gmail.com
Sun Jan 13 00:29:50 EST 2008
Park Heesob wrote:
> ----- Original Message -----
> From: "Daniel Berger" <djberg96 at gmail.com>
> To: "win32utils-devel" <win32utils-devel at rubyforge.org>
> Sent: Sunday, January 13, 2008 4:36 AM
> Subject: [Win32utils-devel] win32-taskscheduler andTaskScheduler#account_information
>> This library has needed some work for a while, so I'm finally getting
>> around to it. I've made some changes and updates in CVS, so grab the
>> latest source to test the issue below.
>> The first issue I'd like to tackle is why the
>> TaskScheduler#account_information (GetAccountInformation) method fails
>> if there's no user associated with a given task.
>> The docs say it should return one of four values:
>> In practice I would simply expect an empty string. But what I'm seeing
>> is that it returns some bogus error number.
> I think the document is wrong.
> GetAccountInformation returns SCHED_E_ACCOUNT_INFORMATION_NOT_SET(0x8004130FL)
> when the account information is not set or not proper name/password.
Ok, thanks. I've updated the method to return nil if that's the result.
More information about the win32utils-devel