Instance Method

changePassword(_:toPassword:)

Changes the record’s password.

Declaration

func changePassword(_ oldPassword: String!, toPassword newPassword: String!) throws

Parameters

oldPassword

The record’s old password. Can be nil if the user has the proper permissions.

newPassword

The new password.

outError

An error reference for error details. Can be nil.

Return Value

true if the password is successfully changed; otherwise, false.

Discussion

See Also

Managing Authentication

func setNodeCredentials(String!, password: String!)

Sets credentials for the record’s node.

func verifyPassword(String!)

Verifies the password for interaction with the record.