{"id":26157,"date":"2010-01-12T21:32:39","date_gmt":"2010-01-13T01:32:39","guid":{"rendered":"http:\/\/www.bu.edu\/tech\/?page_id=26157"},"modified":"2013-03-13T12:12:31","modified_gmt":"2013-03-13T16:12:31","slug":"profile-info","status":"publish","type":"page","link":"https:\/\/www.bu.edu\/tech\/services\/cccs\/websites\/www\/non-wordpress\/marconi\/how-to\/profile-info\/","title":{"rendered":"How to Look Up User Profiles"},"content":{"rendered":"<p>You can access some BU directory profile information for any logged-in BU user if your form uses the Telegraph login tag:<\/p>\n<p><code>&lt;form action=\"\/phpbin\/telegraph\/login\/index.php\"&gt;<\/code><\/p>\n<h4>Available Profile Data<\/h4>\n<table border=\"0\">\n<tbody>\n<tr>\n<th>Field Name<\/th>\n<th>Description<\/th>\n<\/tr>\n<tr>\n<td>[profile:name]<\/td>\n<td>User&#8217;s full name (&#8220;Jones, Bob&#8221;)<\/td>\n<\/tr>\n<tr>\n<td>[profile:department]<\/td>\n<td>User&#8217;s unit\/department name (if applicable)<\/td>\n<\/tr>\n<tr>\n<td>[profile:deptid]<\/td>\n<td>User&#8217;s unit\/department number (if applicable)<\/td>\n<\/tr>\n<tr>\n<td>[profile:title]<\/td>\n<td>User&#8217;s job title (if applicable)<\/td>\n<\/tr>\n<tr>\n<td>[profile:alias]<\/td>\n<td>User&#8217;s BU login name.<\/td>\n<\/tr>\n<tr>\n<td>[profile:office_phone]<\/td>\n<td>User&#8217;s office phone number (if applicable)<\/td>\n<\/tr>\n<tr>\n<td>[profile:phone]<\/td>\n<td>User&#8217;s phone number (if applicable)<\/td>\n<\/tr>\n<tr>\n<td>[profile:type]<\/td>\n<td>User&#8217;s affiliation with BU.<\/td>\n<\/tr>\n<tr>\n<td>[profile:email]<\/td>\n<td>User&#8217;s email address.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Using these profile fields in output templates (e.g., for email and spreadsheets) requires converting them to regular field names:<\/p>\n<p><code>&lt;directive action=\"field\" name=\"<strong>new-field-name<\/strong>\" value=\"<strong>profile-field-name<\/strong>\" \/&gt;<\/code><\/p>\n<ul>\n<li>Example:<br \/>\n<code>&lt;directive action=\"field\" name=\"full-name\" value=\"[profile:name]\" \/&gt;<\/code><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>You can access some BU directory profile information for any logged-in BU user if your form uses the Telegraph login tag: &lt;form action=&#8221;\/phpbin\/telegraph\/login\/index.php&#8221;&gt; Available Profile Data Field Name Description [profile:name] User&#8217;s full name (&#8220;Jones, Bob&#8221;) [profile:department] User&#8217;s unit\/department name (if applicable) [profile:deptid] User&#8217;s unit\/department number (if applicable) [profile:title] User&#8217;s job title (if applicable) [profile:alias] User&#8217;s&#8230;<\/p>\n","protected":false},"author":1282,"featured_media":0,"parent":26082,"menu_order":6,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"_links":{"self":[{"href":"https:\/\/www.bu.edu\/tech\/wp-json\/wp\/v2\/pages\/26157"}],"collection":[{"href":"https:\/\/www.bu.edu\/tech\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.bu.edu\/tech\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.bu.edu\/tech\/wp-json\/wp\/v2\/users\/1282"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bu.edu\/tech\/wp-json\/wp\/v2\/comments?post=26157"}],"version-history":[{"count":11,"href":"https:\/\/www.bu.edu\/tech\/wp-json\/wp\/v2\/pages\/26157\/revisions"}],"predecessor-version":[{"id":63562,"href":"https:\/\/www.bu.edu\/tech\/wp-json\/wp\/v2\/pages\/26157\/revisions\/63562"}],"up":[{"embeddable":true,"href":"https:\/\/www.bu.edu\/tech\/wp-json\/wp\/v2\/pages\/26082"}],"wp:attachment":[{"href":"https:\/\/www.bu.edu\/tech\/wp-json\/wp\/v2\/media?parent=26157"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}