Dieser Beitrag bezieht sich auf die Versionen:
Dynamics AX 2009, Dynamics AX 2012
Dynamics AX 2009, Dynamics AX 2012
Kommentar hinzufügen
|
|
|
|
|
|
Dieser Beitrag bezieht sich auf die Versionen:
Dynamics AX 2009, Dynamics AX 2012 Kommentar hinzufügen
|
Im folgenden eine kurze Anleitung, wie man eine Tabelle um ein Feld erweitert, in welchem ein verschlüsseltes Passwort gespeichert werden kann.
{
CryptoBlob cryptoBlob = connull();
;
cryptoBlob = DEV_Parameters::find().ServerPassword;
if (cryptoBlob != connull())
return cryptoblob2str(WinapiServer::cryptUnProtectData(cryptoBlob));
else
return '';
}
{
CryptoBlob cryptoBlob = connull();
;
if (_set && _pwd != 'xxxxxxxx')
{
cryptoBlob = WinapiServer::cryptProtectData(str2cryptoblob(_pwd));
DEV_Parameters.ServerPassword = cryptoBlob;
DEV_Parameters.update();
}
if (DEV_Parameters.ServerPassword != connull())
{
return 'xxxxxxxx';
}
else
{
return '';
}
}