XML Server Service Collaboratif, (Web, Web Services, PDA, WidGet, Fat Client)
XAS.Services
  XML Kiosk  
Technologie XAS.Technology Version V 6.0.1
Dernière modification Mardi 27 Avril 2010 Par Zaïr BEZGHICHE
Dernière vérification Vendredi 14 Mai 2010 Par Support France
ThèmeXML Server Service Collaboratif, (Web, Web Services, PDA, WidGet, Fat Client) Fonction FrmServeur.xSQLCreateUser

Prototype
Function xSQLCreateUser (iType As Integer, sName As String, sPwd As String, profile As Integer) As Integer
Usage
XML-Server-Service-Collaboratif.xSQLCreateUser(...)
HTTP (GET,POST)SOAP WSDLSOAP RESTXML-RPC
Format de sortie
XML HTML TEXT EXCEL(CSV)

Code Source - développement open source
Function xSQLCreateUser (iType As Integer, sName As String, sPwd As String, profile As Integer) As Integer
Function xSQLCreateUser (iType As Integer, sName As String, sPwd As String, profile As Integer) As Integer
Dim Ret%
Dim sData$
Dim sDate$
Dim s$

xSQLCreateUser = False
Ret = pExecute("CLEAR")

sDate = Date$
sData = "INSERT INTO XmlUser (creation,maj,type, name,password, Profile,ByRef, codeclient ) VALUES ("
sData = sData + "'" + sDate + "',"
sData = sData + "'" + sDate + "',"
sData = sData + "'" + CStr(iType) + "',"
sData = sData + "'" + sName + "',"
sData = sData + "'" + sPwd + "',"
sData = sData + "'" + CStr(profile) + "',"
sData = sData + "'" + CStr(GlobPU.XasName) + "',"
sData = sData + "'" + CStr(GlobPU.XasIdBase) + "' )"
Ret = pExecute(sData)
If Ret = True Then
    Ret = XasUserGetString(1, s)
    If s <> "" Then
        Ret = XasSystemCreateUser(sName, sPwd, CStr(profile), "0111100", GlobPU.Connect)
        xSQLCreateUser = True
    End If
Else
    Ret = XasSystemCreateUser(sName, sPwd, CStr(profile), "0111100", GlobPU.Connect)
End If

End Function

Références XAS.Technology
Date , Cstr , XasUserGetString , XasSystemCreateUser ,

Audience
Cette documentation est destinée aux personnes s'intéressant aux systèmes d'information collaboratifs.
Les Webservices, les architectures collabortives et distribuées, les moteurs transactionnelles et les concepts de programmation orientés objet.


XAS Services - Zaïr BEZGHICHE - Copyright 1991-2011 tous droits réservés- Powered by XAS.Technology