    

 ## On this page

  

 

 # setUserName

 Last update: 16.07.2025 

abstract fun [setUserName](set-user-name.md)(username: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html))

Sets the global default username combination in ModelCenter

#### Parameters

usernamethe new global default username#### Throws

[ModelCenterException](../-model-center-exception/index.md)