Hi Prabath, To do the locking/unlocking of an account you can follow the documentation[1] which provides the admin service to do this as well and to check the status of it, you can have a look at the claim Johann mentioned. For querying the claim you can use RemoteUserStoreManagerService admin service.
[1]. https://docs.wso2.com/pages/viewpage.action?pageId=34612027 Regards, Inosh On Wed, Jun 10, 2015 at 1:16 AM, Johann Nallathamby <[email protected]> wrote: > It is stored in a claim called " > http://wso2.org/claims/identity/accountLocked". You can check the value > of this claim and see. > > Thanks. > > On Wed, Jun 10, 2015 at 12:46 AM, Prabath Abeysekera <[email protected]> > wrote: > >> IS Team, >> >> Let's assume that I'm going to create a user in the user management >> system with "ask user for password" option. Once this is done, what status >> is the created user assigned with up to the point where he sets himself an >> appropriate password? Do we assign some value like "inactive" till the user >> sets an appropriate password? >> >> To further elaborate my requirement, I have a page in MDM which lists >> down the users created within the user management system. At a given point, >> I (some administrator) should be able to invite an "active" user in the >> system to get their devices enrolled. There, I'd enable the "invite" button >> only if the user is indicated "active". To determine whether I should >> enable the aforesaid UI option to a given user or not, I first need to >> retrieve their status. Do we have any mechanism that could effectively be >> used for this purpose already in any identity component? >> >> Any direction/pointer on getting this implemented is much appreciated. >> >> Cheers, >> Prabath >> -- >> Prabath Abeysekara >> Technical Lead >> WSO2 Inc. >> Email: [email protected] >> Mobile: +94774171471 >> > > > > -- > Thanks & Regards, > > *Johann Dilantha Nallathamby* > Technical Lead & Product Lead of WSO2 Identity Server > Integration Technologies Team > WSO2, Inc. > lean.enterprise.middleware > > Mobile - *+94777776950* > Blog - *http://nallaa.wordpress.com <http://nallaa.wordpress.com>* > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- Inosh Perera Software Engineer, WSO2 Inc. Tel: 0785293686
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
