on 05-30-2012 9:35 AM
Hi,
I am iterating through a particular UserGroup in Portal using WebDynpro Java. I need to find out the locked and expired portal users using Webdynpro Java?
Please help me.
Thanks in advance!
Regards
Smita
IUserAccount account = UMFactory.getUserAccountFactory().getUserAccountByLogonId(<userLogonId>);
if (account.isPasswordLocked()) {
// Locked due to number of falled attempts
}
if (account.isUserAccountLocked()) {
// Locked by Administrator
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Get all users of the groups...Iterate thru the list to see if any user account is locked or expired.
Convert IUser to IUserAccount..
Then use IuserAccount.isuseraccountlocked()
and to check expiry date, use iuseraccount.getvalidtodate()
sandip
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.