\CouchbaseUserSettings

Represents settings for new/updated user.

Summary

Methods
Properties
Constants
fullName()
password()
role()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

fullName()

fullName(string  $fullName) : \Couchbase\UserSettings

Sets full name of the user (optional).

Parameters

string $fullName

Full name of the user

Returns

\Couchbase\UserSettings

password()

password(string  $password) : \Couchbase\UserSettings

Sets password of the user.

Parameters

string $password

Password of the user

Returns

\Couchbase\UserSettings

role()

role(string  $role, string  $bucket = NULL) : \Couchbase\UserSettings

Adds role to the list of the accessible roles of the user.

Parameters

string $role

identifier of the role

string $bucket

the bucket where this role applicable (or * for all buckets)

Returns

\Couchbase\UserSettings