def PrintSEM(filepath): if(filepath and os.path.isfile(filepath)): s = open(filepath, "rb") SEM = PermissionApplyVariable(s) s.close() #now print it out. SEM.Print()
def get_sessionid_from_permission_packet(self, identityfile): f = open(identityfile, 'rb') rslt = PermissionApplyVariable(f) f.close() rslt.Print() return rslt.SessionId