@ -14,21 +14,21 @@ Canonical reference for changes, improvements, and bugfixes for Boundary.
* `{{ .User.Id }}`: the user's ID
* `{{ .User.Name }}`: the user's name (from the user resource)
* `{{ .User.FullName }}`: the user's name (from the account corresponding to
theprimary auth method in the user's scope; this may not be populated or
theprimary auth method in the user's scope; this may not be populated or
maybe different than the account name in the template)
* `{{ .User.Email }}`: the user's email address (same caveat as `FullName`)
* `{{ .Account.Id }}`: the account's ID
* `{{ .Account.Name }}`: the account's name (from the account resource)
* `{{ .Account.LoginName }}`: the account's login name (if used by that type
of ccount)
of account)
* `{{ .Account.Subject }}`: the account's subject (if used by that type
of ccount)
of account)
* `{{ .Account.Email }}`: the account's email (if used by that type
of account)
Additionally, there is currently a single function that strips the rest of a
string after a specified substring; this is useful for pulling an user/account name from an email address. In the following example it uses the account email can be any other parameter:
* `{{ truncateFrom .Account.Email "@" }}`: this would turn `foo@example.com` into `foo`
### Bug Fixes
@ -55,7 +55,7 @@ Canonical reference for changes, improvements, and bugfixes for Boundary.
* In order to standardize on the templating format, [templates in