Show/Hide Toolbars

Licence Protector 5

 

This command  retrieves the windows user name of the user, who runs the application.

 

This value could be used to check, if the user is already added in the license file - retrieve all user names from the license file with GetEntriesOfModule - delete values with DeactivateEntry and RemoveDeactivated .

 

Name

GetLPWindowsUser                                                                                

Purpose

This command  retrieves the windows user name of the user, who runs the application.

Params

None

Returncode

Returncode

Type String

Note

tom

windows login name

 

Usage

retrieve system information

Sample

 

  sUsernamee := lic.GetLPWindowsUser;

  << use the name in the application logic >>

  ...

See also

GetEntriesOfModule, DeactivateEntry, RemoveDeactivated