Returns the member ID of an application’s Validation Account setting.
Note: | To return the member ID of a Validation Account n property, use GetByIndexValidationAccount. |
<HsvMetadata>.GetValidationAccount plAccountID
Long. Returns the account’s member ID. If the application does not have a validation account, -1 is returned. |
The following example tests the value returned by GetValidationAccount. If it is greater than -1, IHsvTreeInfo.GetLabel gets the validation account’s label, which is then placed into a text box. If GetValidationAccount returns -1, then the text box indicates that the application lacks a validation account.