User Guide
Site functions 275
site.getCheckOutUser()
Availability
Dreamweaver 3.
Description
Gets the login and check-out name that is associated with the current site.
Arguments
None.
Returns
A string that contains a login and check-out name, if defined, or an empty string if Check In/
Check Out is disabled.
Example
A call to site.getCheckOutUser() might return "denise (deniseLaptop)". If no check-
out name is specified, only the login name returns (for example,
"denise").
site.getCheckOutUserForFile()
Availability
Dreamweaver 3.
Description
Gets the login and check-out name of the user who has the specified file checked out.
Arguments
fileName
■ The fileName argument is the path to the file being queried, which is expressed as a file:/
/URL.
Returns
A string that contains the login and check-out name of the user who has the file checked out
or an empty string if the file is not checked out.
Example
A call to site.getCheckOutUserForFile("file://C:/sites/avocado8/index.html")
might return
"denise (deniseLaptop)". If no check-out name is specified, only the login
name returns (for example,
"denise").
000_DW_API_Print.book Page 275 Wednesday, July 20, 2005 11:58 AM