Class WhoAmIResult


  • public class WhoAmIResult
    extends java.lang.Object
    The result of a Workspace.whoAmI() operation.
    • Constructor Summary

      Constructors 
      Constructor Description
      WhoAmIResult​(java.lang.String user, java.lang.String url, java.util.List<java.lang.String> organizations)
      Creates a new instance of WhoAmIResult.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<java.lang.String> organizations()
      Organizations the user are in for the backend.
      java.lang.String url()
      A URL at which information about this backend may be seen.
      java.lang.String user()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • WhoAmIResult

        public WhoAmIResult​(java.lang.String user,
                            java.lang.String url,
                            java.util.List<java.lang.String> organizations)
        Creates a new instance of WhoAmIResult.
        Parameters:
        user - the identify of the current user
        url - the URL at which information about this backend may be seen
        organizations - organizations the user are in for the backend
    • Method Detail

      • user

        public java.lang.String user()
      • url

        @Nullable
        public java.lang.String url()
        A URL at which information about this backend may be seen.
        Returns:
        the URL
      • organizations

        public java.util.List<java.lang.String> organizations()
        Organizations the user are in for the backend.
        Returns:
        the organizations