UalStart function

Starts a User Access Logging (UAL) session.

Syntax


HRESULT WINAPI UalStart(
  _In_ PUAL_DATA_BLOB Data
);

Parameters

Data [in]

A pointer to an UAL_DATA_BLOB structure that specifies session information.

Only the RoleGuid property of the UAL_DATA_BLOB structure is required. All other members can be null.

Return value

If the function succeeds, it returns S_OK. If it fails, it returns an error code.

Examples

For an example of how to use this function, see How to report user access to server roles.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Header

Ual.h

Library

Ualapi.lib

DLL

Ualapi.dll

See also

UalInstrument
UalStop

 

 

Show: