 +				}
 +
 +				if ( "on".equals(releaseproviders) ) {
++					if ( user == null ) user = UserDirectoryService.getUser(ims_user_id);
 +	        mm.put("/provider_ids", StringUtils.defaultString(userProviderIdMap.get(user.getEid())));
 +			  }
 +
  					if ( "on".equals(releaseName) || "on".equals(releaseEmail) ) {
  						if ( user == null ) user = UserDirectoryService.getUser(ims_user_id);
  						if ( "on".equals(releaseName) ) {
-@@ -702,6 +767,51 @@
+@@ -702,6 +768,51 @@
  			M_log.debug(theXml);
  		}
  

 				for (Member member : members ) {
 					Map<String,String> mm = new TreeMap<String,String>();
 					Role role = member.getRole();
@@ -660,6 +709,11 @@
 					mm.put("/user_id",ims_user_id);
 					String ims_role = "Learner";
 					if ( maintainRole != null && maintainRole.equals(role.getId())) ims_role = "Instructor";

         </dependency>
diff -r 87b68247025e src/basiclti/basiclti-blis/src/java/org/sakaiproject/blti/ServiceServlet.java
--- a/src/basiclti/basiclti-blis/src/java/org/sakaiproject/blti/ServiceServlet.java	Mon Mar 16 14:17:32 2015 -0500
+++ b/src/basiclti/basiclti-blis/src/java/org/sakaiproject/blti/ServiceServlet.java	Thu Jun 11 13:15:58 2015 -0500
@@ -27,6 +27,7 @@
 import java.util.List;
 import java.util.ArrayList;
