GetAdminByName Method
The GetAdminByName method returns an admin by name.
Syntax
[obj=] SiteCafe.Server.Admins.GetAdminByName(name)
|
Parameters
name |
Long value that specifies the admin's name. |
Return Value
Returns an Admin object representing the specified admin.
Remarks
Examples
The following example displays the index of a specified admin.
<SCRIPT TYPE="text/javascript">
window.external.InitScriptInterface();
admin = SiteCafe.Server.Admins.GetAdminByName("admin2");
alert(admin.Index);
</SCRIPT>
|
Applies to
SiteKiosk v6.2 (and later versions).
Back to top