def-coach
Action
Define a coach with an identifier tag (auto-assigns manager role)
Syntax
def-coach <deftag>
define coach with deftag (auto-assigns manager role)
def-coach <deftag> password "secret"
define coach with deftag and encrypted password
def-coach <deftag> email "[email protected]"
define coach with deftag and email address
def-coach <deftag> phone "+1-555-1234"
define coach with deftag and phone number
def-coach <deftag> name "Full Name"
define coach with deftag and display name
def-coach <deftag> role admin
assign admin role to coach
def-coach <deftag> role member
assign member role to coach
def-coach <deftag> role manager
assign manager role to coach
def-coach <deftag> pin 1234
set encrypted PIN for coach