SoftwareShield
ClientProtector COM Component > ClientProtector
(SSCProtector) Reference > GetUserName
GetUserNameThe GetUserName function retrieves the User Name field stored in the currently loaded license. Syntax
ParametersUserName [OUT] Wide character string which will return holding the User Name field set in the currently loaded license. RemarksThe GetUserName function retrieves the User Name field stored in the currently loaded license. If the User Name field is not set, the string returns empty. This field is a dynamically allocated string and has no declared maximum length. The theoretical maximum length of this string value is 2GB (two gigabytes). In practice this means that the maximum length of this string is limited only by the amount of memory available to your application. Return ValueAs with all COM function calls they return an HRESULT. HRESULT is a data type that is a 32-bit error or warning code. Check your compilers documentation for information on interpreting the HRESULT value. Function Information
|