Home All Groups Group Topic Archive Search About

How can I read the property's "Description" of a security Log's en

Author
3 Dec 2006 11:10 PM
Pucca
When I double click on an entry of the "Security" log in the system's "Event
Viewer", a Property window pops up.  In this window, there is a "Description"
section that lists many different information like "User Name:, "Domain",
"Login ID"......
How can I obtain each of this inforation in my program?  Thank you.
--
Thanks.

Author
12 Dec 2006 2:52 PM
Nicole Calinoiu
Have you tried using the Message property of the EventLogEntry object?


Show quoteHide quote
"Pucca" <Pu***@discussions.microsoft.com> wrote in message
news:6D21E0DB-A1B9-4D4A-A505-F494D2A8DC62@microsoft.com...
> When I double click on an entry of the "Security" log in the system's
> "Event
> Viewer", a Property window pops up.  In this window, there is a
> "Description"
> section that lists many different information like "User Name:, "Domain",
> "Login ID"......
> How can I obtain each of this inforation in my program?  Thank you.
> --
> Thanks.
Author
12 Dec 2006 5:21 PM
Pucca
Yes, I did.  Thank you. 
Question on if there is a built-in function to retrieve keyword value in the
message?

--
Thanks.


Show quoteHide quote
"Nicole Calinoiu" wrote:

> Have you tried using the Message property of the EventLogEntry object?
>
>
> "Pucca" <Pu***@discussions.microsoft.com> wrote in message
> news:6D21E0DB-A1B9-4D4A-A505-F494D2A8DC62@microsoft.com...
> > When I double click on an entry of the "Security" log in the system's
> > "Event
> > Viewer", a Property window pops up.  In this window, there is a
> > "Description"
> > section that lists many different information like "User Name:, "Domain",
> > "Login ID"......
> > How can I obtain each of this inforation in my program?  Thank you.
> > --
> > Thanks.
>
>
>
Author
13 Dec 2006 2:02 PM
Nicole Calinoiu
Nope.  As far as the event log API is concerned, the message is just a
string.  You'll need to parse it yourself.


Show quoteHide quote
"Pucca" <Pu***@discussions.microsoft.com> wrote in message
news:686B0D37-4818-4CBC-B566-33273F4B15D4@microsoft.com...
> Yes, I did.  Thank you.
> Question on if there is a built-in function to retrieve keyword value in
> the
> message?
>
> --
> Thanks.
>
>
> "Nicole Calinoiu" wrote:
>
>> Have you tried using the Message property of the EventLogEntry object?
>>
>>
>> "Pucca" <Pu***@discussions.microsoft.com> wrote in message
>> news:6D21E0DB-A1B9-4D4A-A505-F494D2A8DC62@microsoft.com...
>> > When I double click on an entry of the "Security" log in the system's
>> > "Event
>> > Viewer", a Property window pops up.  In this window, there is a
>> > "Description"
>> > section that lists many different information like "User Name:,
>> > "Domain",
>> > "Login ID"......
>> > How can I obtain each of this inforation in my program?  Thank you.
>> > --
>> > Thanks.
>>
>>
>>
Author
13 Dec 2006 6:08 PM
Pucca
That's too bad.  Thank you Nicole.
--
Thanks.


Show quoteHide quote
"Nicole Calinoiu" wrote:

> Nope.  As far as the event log API is concerned, the message is just a
> string.  You'll need to parse it yourself.
>
>
> "Pucca" <Pu***@discussions.microsoft.com> wrote in message
> news:686B0D37-4818-4CBC-B566-33273F4B15D4@microsoft.com...
> > Yes, I did.  Thank you.
> > Question on if there is a built-in function to retrieve keyword value in
> > the
> > message?
> >
> > --
> > Thanks.
> >
> >
> > "Nicole Calinoiu" wrote:
> >
> >> Have you tried using the Message property of the EventLogEntry object?
> >>
> >>
> >> "Pucca" <Pu***@discussions.microsoft.com> wrote in message
> >> news:6D21E0DB-A1B9-4D4A-A505-F494D2A8DC62@microsoft.com...
> >> > When I double click on an entry of the "Security" log in the system's
> >> > "Event
> >> > Viewer", a Property window pops up.  In this window, there is a
> >> > "Description"
> >> > section that lists many different information like "User Name:,
> >> > "Domain",
> >> > "Login ID"......
> >> > How can I obtain each of this inforation in my program?  Thank you.
> >> > --
> >> > Thanks.
> >>
> >>
> >>
>
>
>