GetUserName

 

GetUserName retrieves the name of the currently logged-in user.

  

void @GetUserName(string username);

 

Function Arguments

string username: A buffer to store the name of the user to be retrieved

 

Return Value

None

 

 

Description  :  Stores the name of the currently logged-in user in the buffer named username.

 

Example)  @GetUserName($USERNAME);

 

When the script is written as above, it stores the name of the currently logged-in user in the string tag $USERNAME.

If the currently logged-in user is 'kkk', the string tag $USERNAME will store 'KKK'.

 

Related Helps

@GetUserName()

@GetUserRight()

@GetUserRightControl()

@LogIn()

@LogInChangePassword()

@LogInGetGroupsOfUser()

@LogInUser()

@LogInUserPass()

@LogOut()