Chat now with support
Chat with Support

InTrust 11.3.1 - Customization Kit

AuditProvider

Non-creatable.

NAME

TYPE

DESCRIPTION

SubmitEventPositionPair(event, position)

method

Submits event and position pair to the audit provider.

LogMessage(messagetext, systemmessage, messageseverity)

method

messageseverity is an integer:

4 = success

3 = information

2 = error

1 = warning

OperationStatus(statustext)

method

Trace(level, msg) method recommended level values:

0 = TraceDisabled

10 = TraceCritical

20 = TraceWarning

30 = TraceNormal

40 = TraceDebug

Example

AuditProvider.SubmitEventPositionPair(new Event(), new Position());

ErrorInfo

This object lets you provide detailed error messages in the InTrust Server log. The object is available only in the object model of audit scripts based on JScript or VBScript.

NAME

TYPE

DESCRIPTION

Number

property

Event ID of the error.

Description

property

Error description.

Raise

method

Submits the error to the InTrust server log; this method has no parameters.

Example

This snippet puts an error event in the InTrust Server log. The message description contains the string "Invalid password".

ErrorInfo.Description = "Invalid password";
ErrorInfo.Raise();

Event

Creatable.

This object is a collection of user-supplied properties.

Example

x = new Event;
x.prop1 = "val1";
x.prop2 = new Date()

GlobalObject

Non-creatable.

NAME

TYPE

DESCRIPTION

AuditProvider

property

Returns an AuditProvider object.

Related Documents