Datasnap.DSAuth.TDSRoleItems.MarkUpdated

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
procedure
function
Visibility: public
Source:
Datasnap.DSAuth.pas
Datasnap.DSAuth.hpp
Unit: Datasnap.DSAuth
Parent: TDSRoleItems

Delphi

procedure MarkUpdated;

C++

void __fastcall MarkUpdated();

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.