In the following code
var proDoc:NotesDocument = database.getProfileDocument("FDBProfile","");
proDoc.getItemValue("Admin")
the value being stored is a vector not the value in the field which is why your code is throwing the error.
use getItemValueString("Admin") instead.
This highlights one of the differences between the Java back end implementation versus lotusscript.