beautypg.com

Dwuri.getauthority(), Dwuri.getusername(), Dwuri.getpassword() – Adobe Dreamweaver API Reference CS5 User Manual

Page 283

background image

278

DREAMWEAVER API REFERENCE

Document

Last updated 8/27/2013

DWUri.getAuthority()

Availability
Dreamweaver CS5.

Description
Retrieves the domain authority. The URI object is not valid until it is constructed or initialized with the valid URI.

For the URI “

http://www.adobe.com/index.html

”, “

www.adobe.com

” is the authority.

Arguments
None.

Returns
A String containing the URI object’s domain authority.

DWUri.getUsername()

Availability
Dreamweaver CS5.

Description
Retrieves the user name. The URI object is not valid until it is constructed or initialized with the valid URI.

For the URI “

ftp://[email protected]

”, “

jon

” is the user name.

Arguments
None.

Returns
A String containing the URI object’s user name.

DWUri.getPassword()

Availability
Dreamweaver CS5.

Description
Retrieves the password. The URI object is not valid until it is constructed or initialized with the valid URI.

For the URI “

ftp://jon:[email protected]

”, “

xxx

” is the password.

Arguments
None.

Returns
A String containing the URI object’s password.