Datasnap.DSAuth.TDSRoleItems.MarkUpdated

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure MarkUpdated;

C++

void __fastcall MarkUpdated();

Properties

Type Visibility Source Unit Parent
procedure
function
public
Datasnap.DSAuth.pas
Datasnap.DSAuth.hpp
Datasnap.DSAuth TDSRoleItems

Description

Sets LastUpdated to the current time.

MarkUpdated sets the value returned by LastUpdated to be the current date/time. This can be used in places such as TDSSession.GetAuthRoleInternal to check whether TRoleAuth instances are up to date with the items of TDSCustomAuthenticationManager.Roles.