on 2007 Jun 07 10:09 AM
hi,
i am connecting xMII portal login page from HTML page like giving username and password from HTML. but how can i know that given username is administrator or guest? how can i add new user in xMII from HTML page like filling up form and submit in HTML page? please help me.
- senthil
Request clarification before answering.
Senthil,
Use can you the document.getElementById('applet').getPropertyValue('IllumLoginRoles') javascript call the following way on your HTML page:
if(document.getElementById('appletName').getPropertyValue('IllumLoginRoles').indexOf('Administrators') > -1)
This will identify if the user belongs to the Administrator role. In order to see a list of the various xMII session properties use the following URL:
http://<serverName>/Lighthammer/PropertyAccessServlet?Mode=List
This is described in detail in the xMII Help Documentation, hope this helps.
-Sam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.