Documentation Center

Application 2.0 GetResource

Returns the correct resource file from the server.


Parameters

NameTypeDirectionDescription
psAuthContextStringInOutDeprecated proprietary authentication context only used by .ASMX web services based on internal username/password authentication. Claims based security standards drive all the WCF .SVC web services making this parameter redundant.
psBaseNameStringInThe name of the resource file
psLocaleStringInThe locale in which the user interface is displayed
psResourceContentStringInOutResourceLib structure

All localizable items are centralized on the server using resource files. Our desktop clients or third party software can obtain the correct resource file from the server using this API call.

The API call will return an empty element <resourcelib/> if the resource is not found.

iRetCode = GetResource(psContext, "isAuthor","en", sOutXmlResourceContent)