Licence Protector

GetLPWindowsUser

Hide Navigation Pane

GetLPWindowsUser

Previous topic Next topic  

GetLPWindowsUser

Previous topic Next topic JavaScript is required for the print function Mail us feedback on this topic!  

 

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