# ShareName Property The ShareName property contains the name of the sharepoint for the printer. Syntax
    [str=] SiteKiosk.Printer.Printers.Item(index).ShareName
Possible Values
    String that retrieves the share name.
The property is read only. Remarks This string is used only if the PRINTER_ATTRIBUTE_SHARED constant was set for the Attributes member. See PRINTER_INFO_2 (MSDN) for further information. Examples The following example displays the name of the sharepoint for the first available printer.
    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    alert(SiteKiosk.Printer.Printers.Item(1).ShareName);
    </SCRIPT>
Applies to SiteKiosk v6.2 (and later versions). Back to top