10.07.2015 Views

SuiteTalk (Web Services) Platform Guide - NetSuite

SuiteTalk (Web Services) Platform Guide - NetSuite

SuiteTalk (Web Services) Platform Guide - NetSuite

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Web</strong> <strong>Services</strong> OperationschangePasswordOrEmail131{RecordRef contactRef = new RecordRef();contactRef.setInternalId("1467");contactRef.setType(RecordType.contact);RecordRef customerRef = new RecordRef();customerRef.setInternalId("176");customerRef.setType(RecordType.customer);AttachContactReference detachRef = new AttachContactReference();detachRef.setContact(contactRef);detachRef.setAttachTo(customerRef);}WriteResponse detachResponse = sessMgr.getPort().detach(detachRef);changePasswordOrEmailUse the changePasswordOrEmail operation to change a user’s email or password.Note: This topic provides details about how to change a user’s email or password with<strong>Web</strong> services code. For details about how to make this change in the <strong>NetSuite</strong> userinterface, see Resetting Your Login Email or Password.RequestThe ChangePasswordOrEmailRequest type is used for the request.Element Name XSD Type NoteschangePasswordOrEmailCredentials ChangePasswordOrEmailCredentialsThe ChangePasswordOrEmailCredentials type takes the following fields:• currentPassword• newEmail• newEmail2• newPassword• newPassword2• justThisAccountResponseThe ChangePasswordOrEmailResponse type is used for the response. It does not contain anyfields.<strong>SuiteTalk</strong> <strong>Platform</strong> <strong>Guide</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!