Re-Login. Purpose. Allows logging in to the file using a different account and password without having to close and reopen the file. See also.
Re-LoginPurpose Allowsloggingintothefileusingadifferentaccountandpasswordwithouthavingtocloseandreopenthefile.Seealso AutomatingtaskswithscriptsFormat Re-Login[AccountName:;Password:;Withdialog:On/Off]Options •WithdialogcontrolswhethertheOpendialogboxdisplayswhenthescriptstepisperformed.Thisdialogboxrequirestheusertomanuallyenteranaccountandpassword(oreditinformationalreadydisplayedinthedialogbox)toopenafile.WhenWithdialogissettoOn,FileMaker Prousestheaccountandpasswordinformationthatisstoredwiththescriptstep,orgeneratesinformationfromcalculationswhenthescriptstepisperformed.•AccountNameallowsyoutospecifythenameoftheaccounttobeauthenticated.•Passwordallowsyoutospecifythepasswordforthisaccount.Compatibility Wherethescriptstepruns Supported FileMakerPro Yes FileMakerServer Partial FileMakerGo Yes CustomWebPublishing Partial FileMakerWebDirect Partial Runtimesolution Yes Originatedin FileMaker Pro7.0Description Privilegesassignedtothenewaccounttakeeffectimmediately,includingaccesstotables,records,layouts,scripts,andvaluelists.Notes •Youdonotneedfullaccessprivilegestoperformthisscriptstep.Userswithanylevelofaccesscanusethisscriptsteptore-logintothedatabase.•Usersgetfiveattemptstoentertheiraccountandpassword,unlesstheSetErrorCapturescriptstepisenabled.•IftheSetErrorCapturescriptstepisenabled,usersgetasingleattempttoentertheiraccountandpassword.•TheWithdialogoptionworksdifferentlydependingonwherethescriptruns:•Server-sidescriptsandCustomWebPublishingrunthisscriptstepasifthisoptionissettoOff.•InFileMaker WebDirect,settingthisoptiontoOndisplaysthedialogbox.However,ifyoustoretheaccountandpasswordinthescriptstep,thisinformationisnotdisplayedinthedialogbox.Example1 Promptsthecurrentusertore-loginafterdeletingthespecifiedaccount.Note BecauseoftheDeleteAccountstep,usersmusthavefullaccessprivilegestorunthisscript.DeleteAccount[AccountName:"User"]Re-Login[Withdialog:On]Relatedtopics Scriptstepsreference(alphabeticallist)Scriptstepsreference(categorylist)Wasthistopichelpful?Sendfeedback.