Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Code Block
languagecpp
themeConfluence
EdmiError   edmiGetLicenseInfoFromLicenseKey  (SdaiString             licenseKey,
                                           SdaiString     SdaiLicenseInfo       *productName,licenseInfo);  

This function retrieves the server license information. The result is placed within the following struct. When the returned struct “licenseInfo” is not needed anymore it should be freed by calling “edmiFree(licenseInfo)

Code Block
languagecpp
 typedef struct _tSdaiLicenseInfo {
    SdaiString                             productName;
      SdaiString            *version,
      version;
                                    SdaiInteger           *licenseId,
                                      licenseId;
    SdaiString            *licenseType,
                                     licenseType;
     SdaiInteger           *expiryYear,
 ;
                                         SdaiInteger           *expiryMonth,;
                                           SdaiInteger           *expiryDay,
;
                                          SdaiString            *operatingSystem,
                                   operatingSystem;
       SdaiInteger           *licenseOptions,
                                      licenseOptions;
    SdaiInteger           *numberOfApplicationServers,;
                                           SdaiInteger           *numberOfNamedUsers,
                                     numberOfNamedUsers;
     SdaiString            *macAddress)systemId;
} tSdaiLicenseInfo;
typedef 

...

tSdaiLicenseInfo *SdaiLicenseInfo;

Arguments

...

 

TypeNameComment
SdaiStringlicenseKeylicense key string
SdaiStringSdaiLicenseInfoproductNameOptional  - The product name
SdaiStringversionOptional - EDMserver version number
SdaiIntegerlicenseIdOptional - license ID
SdaiStringlicenseType

Optional - one of the followings

  • Permanent license
  • Evaluation license
  • Test license
  • Project license
  • Education license
SdaiIntegerexpiryYearOptional - license year of expiration 
SdaiIntegerexpiryMonthOptional - license month of expiration 
SdaiIntegerexpiryDayOptional  - license day of expiration
SdaiStringoperatingSystem

Optional - one of the following

  • WINDOWS
  • LINUX
  • MAC_OS            
  • HP-UX                
  • SUN-SOLARIS            
  • MAC_INTEL 
SdaiIntegerlicenseOptions

Optional - one of the following

  • EDMruntime
  • EDMruntimeX
  • EDMdesktop
  • EDMdeveloper
  • EDMdesktop(ifc)
  • EDMdeveloper(ifc)
  • EDMdesktop(rds)
  • EDMdeveloper(rds)
  • EDMserver(generic)
  • EDMserver(ifc)
  • EDMmodelServer(ifc)
  • EDMserver(applications)
  • EDMserver(rds)
  • EDMserver(plcs)
  • EDMmodelServer(generic)  
  • EDMmodelServer(rds)
  • EDMmodelServer(plcs)
  • EDMvisualExpress
  • EDMvisualExpress_client
  • EDMmodelMigrator
  • EDMmodelMigrator_client
  • Maintenance Support Agreement - 4.7
  • EDMclassPack
  • EDMconnector
  • EDMdeveloper(plcs)
  • EDMdesktop(cis2)
  • EDMdeveloper(cis2)
  • EDMruntimeFP
  • EDMwindchillConnector
  • EDMtruePLM
  • EDMmodelStore
  • EDMviewer
  • EDMopenSimDM
  • EDMrdlEditor(plcs)
  • EDMviewerSDK
SdaiIntegernumberOfApplicationServersOptional - number of EDMappServer allowed by the license
SdaiIntegernumberOfNamedUsersOptional - number of EDMusers allowed by the license
licenseInfoStructure containing the results

Return Value

...

Insert excerpt
US:_r_EDMInterface
US:_r_EDMInterface
nopaneltrue

...

Example

...

 

Code Block
languagecpp
  <example>

 

See also

Filter by label (Content by label)
showLabelsfalse
showSpacefalse
cqllabel = "model" and parent = "6062220"

...