SharedLink.setPassword Method
Parent Object:
SharedLinkDefined in namespace "adsk::core" and the header file is <Core/Dashboard/SharedLink.h>
Description
Sets the password to access the web page to view the file. Setting a password makes using the password required to access the page. The password takes effect immediately for anyone using the URL. To turn off the password requirement, set the isPasswordRequired property to false.
Syntax
"sharedLink_var" is a variable referencing a SharedLink object.returnValue = sharedLink_var.setPassword(password)
|
"sharedLink_var" is a variable referencing a SharedLink object.
#include <Core/Dashboard/SharedLink.h>
returnValue = sharedLink_var->setPassword(password);
|
Return Value
boolean |
Returns true if setting the password was successful. |
Parameters
password |
string |
The password to use. |
Version
Introduced in version May 2024