- * returns non-zero on error, on success returns 0 and updates 'plen' to
- * total found (could be more than original value of 'plen')
+ * Search for personas based on name or uid
+ *
+ * Parameters:
+ * name: Local login name of the persona.
+ * Set this to NULL to find personas by 'uid'.
+ *
+ * uid: UID of the persona.
+ * Set this to -1 to find personas by 'name'
+ *
+ * persona: output - array of persona pointers. Each non-NULL value
+ * must* be released with persona_put. This can be NULL.
+ *
+ * plen: input - size of 'persona' buffer (in number of pointers)
+ * output - the total required size of the 'persona' buffer (could be larger than input value)
+ *
+ * Return:
+ * 0: Success
+ * != 0: failure (BSD errno value ESRCH or EINVAL)