Service.getCollections

secret.collection.Collection[] getCollections()

Get a list of secret.collection.Collection objects representing all the collections in the secret service.

If the secret.types.ServiceFlags.LoadCollections flag was not specified when initializing #SecretService proxy object, then this method will return null. Use secret.service.Service.loadCollections to load the collections.

Returns

a

list of the collections in the secret service