Exago .NET API Documentation
Identity Method
Example 
WebReports.Api.ReportMgmt Namespace > StorageMgmtConfig Class : Identity Method

The name of the Storage Management identity key to set. Either:

Storage Management also allows for creating custom identity keys by modifying the XML configuration file and party type table. Any custom identity keys may also be set with this call.

If no value for key can be found, this method will return this value, which is null be default.

Retrieve, or set the value of a Storage Management identity key.

Review the Storage Management: Introduction article's Identity Keys section to learn about how these keys affect the application. These keys should be set along with the System Parameters each time an Exago session is created via the API.

Syntax
public System.string Identity( 
   System.string key,
   System.string defaultValue
)

Parameters

key

The name of the Storage Management identity key to set. Either:

  • userId
  • companyId
  • classId
  • ownerId

Storage Management also allows for creating custom identity keys by modifying the XML configuration file and party type table. Any custom identity keys may also be set with this call.

defaultValue
If no value for key can be found, this method will return this value, which is null be default.

Return Value

A string representing the value of the requested key. If no value for key can be found, the defaultValue will be returned.
Example
Display a Welcome Message
Label1.Text = "Welcome " + api.SetupData.StorageMgmtConfig.Identity("userId") + " from " + api.SetupData.StorageMgmtConfig.Identity("comapanyId");
See Also

Reference

StorageMgmtConfig Class
StorageMgmtConfig Members

Exago Knowledge Base

Storage Management: Identity Keys