# getPassword-获取密码
调用getPassword函数获取对象中的密码。
最小支持版本:5.0.0
# 接口说明
已获得Password对象,该对象在示例中为password,详情请参见fromWinCredential (opens new window)。
# 语法
<Password object>.getPassword()
1
<Password object>.获取密码()
1
# 函数类型
实例函数
# 请求参数
无
# 返回参数
参数名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
Result | Cube.Assets.SecureString | Cube.Assets.SecureString | 获取到的密码。 |
# 请求示例
password.getPassword()
1
最近更新时间: {
"value": "2023-09-12",
"effect": true
}