5538755f556a081861b4b715ca6cc70fbc49ec7c
jcasper
  Fri Feb 24 16:36:25 2017 -0800
hgSession and PublicSessions should now work when gbMembers is remote, refs #18800

diff --git src/hg/inc/sessionThumbnail.h src/hg/inc/sessionThumbnail.h
index bd59740..cb50b3d 100644
--- src/hg/inc/sessionThumbnail.h
+++ src/hg/inc/sessionThumbnail.h
@@ -1,16 +1,19 @@
 /* sessionThumbnail - this header provides an interface for getting
  * the filename, filesystem path, and web URI for the thumbnail image
  * associated with a session.
  *
  * Copyright (C) 2016 The Regents of the University of California 
  * See README in this or parent directory for licensing information. */
 
-char *sessionThumbnailFilePath(char *userIdx, char *encSessionName,
+char *sessionThumbnailFilePath(char *userIdentifier, char *encSessionName,
                                char *firstUse);
 /* Returns the path to the thumbnail image of the specified session as seen by CGIs.
  * Result must be freed. */
 
-char *sessionThumbnailFileUri(char *userIdx, char *encSessionName,
+char *sessionThumbnailFileUri(char *userIdentifier, char *encSessionName,
                               char *firstUse);
 /* Returns the path to the thumbnail image of the specified session as seen by web viewers.
  * Result must be freed. */
+
+char *sessionThumbnailGetUserIdentifier(char *userName, char *userIdx);
+/* Return a unique identifier for the specified userName and (if non-NULL) userIdx from the gbMembers table. */