cancel
Showing results for 
Search instead for 
Did you mean: 

Change of Enterprise portal logon password through Webdynpro program.

Former Member
0 Kudos

Hi,

I need to Change Enterprise portal logon password through Webdynpro program, how it is possible. I tried in many ways but i couldnot change it.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi

Try this

try{

IWDClientUser wdUser = WDClientUser.getCurrentUser();

IUser user = wdUser.getSAPUser();

if(user != null) {

IUserAccount acct[] = user.getUserAccounts();

if(acct[0] != null) {

acct[0].setPassword("<New Password>");

}

}

}catch(Exception e ){

e.printStackTrace();

}

Kind Regards

Mukesh