Equate

<< Click to Display Table of Contents >>

Navigation:  EasyDotNet documentation > Classes > TProtectedData class >

Equate

Previous pageReturn to chapter overviewNext page

Specifies the scope of the data protection to be applied by the TProtectedData.Protect method.

DataProtectionScopeEnum       EQUATE(LONG)

 

The protected data is associated with the current user. Only threads running under the current user context can unprotect the data.

DataProtectionScope::CurrentUser EQUATE(0)

 

The protected data is associated with the machine context. Any process running on the computer can unprotect data. This enumeration value is usually used in server-specific applications that run on a server where untrusted users are not allowed access.

DataProtectionScope::LocalMachine EQUATE(1)