Instance Method

setNodeCredentials(_:password:)

Sets credentials for the record’s node.

Declaration

func setNodeCredentials(_ inUsername: String!, password inPassword: String!) throws

Parameters

inUsername

The username to use to authenticate with the node.

inPassword

The password to use to authenticate with the node.

outError

An error reference for error details. Can be nil.

Return Value

true if the credentials are successfully set; otherwise, false.

Discussion

If this function fails, the previous credentials for the node are used.

See Also

Managing Authentication

func verifyPassword(String!)

Verifies the password for interaction with the record.