Version: 6.5.0
Utils_Identity Namespace Reference

Module to get information about user and version. More...

Data Structures

class  Identity
 

Functions

def getShortHostName ()
 
def getapplipath ()
 
def version ()
 

Detailed Description

Module to get information about user and version.

Function Documentation

def Utils_Identity.getShortHostName ( )
gives Hostname without domain extension.

SALOME naming service needs short Hostnames (without domain extension).
HOSTNAME is not allways defined in environment,
socket.gethostname() gives short or complete Hostname, depending on
defined aliases.
def Utils_Identity.getapplipath ( )
  Gives short application path (the complete path is $HOME/$APPLI)
def Utils_Identity.version ( )
  Gives salome version number
Copyright © 2007-2012 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS