User management API/get all the users for a group
Hi all,
I'm trying to get all the users and their associated groups with the user management API. The method DirectoryManagerServiceClient.findGroupMembers(GroupMembershipSearchFilter)
returns all the users, great, but not the associated groups.
TO get the users i use the oid of a "super group" and this "super group" contains severals groups. It's the information about these groups i need.
I have read in the documentation of Principal Object that a search could omit
the group informations for efficiency. How can i bypass this limitation?
Thank you in advance for your help,
Philippe Vandenhove
Hi Philippe
Our CreateUser component will allow you to create local users and groups.
http://avoka.dnsalias.com/confluence/display/Public/Create+User+Create+Group
LookupGroup takes a group name or id, and returns a list of all members. I'm pretty sure it recursively evaluates contained groups, but you'll need to check. If it doesn't, log a bug to support-at-avoka.com.
http://avoka.dnsalias.com/confluence/display/Public/Lookup+DSC
Download at:
vhttp://www.avoka.com/apps/checkcookie?qpac=y&qpac_code=avokaESComponents&location=%2Fapps %2Fqpacdownload
Howard
Similar Messages
-
hi all
I have table in MS Access databse called Login with two coulmn (User, Password),
I want to get all the User Name in a string[] called USER,
(LIKE USER = {"AA","BB","CC",........"zz"};)
can anybody send me the code to get the USERNAMES form Login Table, i tried lots of way but bad luck
so plz someone send me a code.
Thanx
Regards
SatinderWell, the biggest problem is that you don't know (probably) a head of time how many names are in the table.
So i'd first stuff them into a managed array such as ArrayList
So you'd
(1) Iterate over the resultset
(1.1) for each row call getString() on the user field
(1.1) call add on the ArrayList to add the string
(2) Call toArray on the ArrayList to convert it to a plain array
(NOTE: you will have to pass a String[] {""} arg as a parm to
toArray() to get the right type of array.) -
I want to get all the user name form LOGIN table ... how help me ?
hi all
I have table in MS Access databse called Login with two coulmn (User, Password),
I want to get all the User Name in a string[] called USER,
(LIKE USER = {"AA","BB","CC",........"zz"};)
can anybody send me the code to get the USERNAMES form Login Table, i tried lots of way but bad luck
so plz someone send me a code.
Thanx
Regards
SatinderI made something like this as He pasted the the code above and u know this works for me atleast thanx
kind regards
satinderjit
String User[] = new String[1000];
try
//Load Driver
Class.forName(driver);
// Make Connection
connection=DriverManager.getConnection(url,user,password);
// Create Statement
statement = connection.createStatement();
sql = "SELECT User FROM Login" ;
// Create Resultset
rs = statement.executeQuery(sql);
int j=0;
while(rs.next())
User[j]= rs.getString("User");
j=j+1;
for(int i=0 ;i<J;i++)
Form.C_Manager.addItem(User);
statement.close();
//rs.close();
connection.close();
catch(ClassNotFoundException cnfex) {
//show message
JOptionPane.showMessageDialog((Component) null,
"Failed to load driver..."+
"\n"+cnfex.getMessage(),
"Error...",
JOptionPane.ERROR_MESSAGE);
catch(SQLException sqlex){
//show message
JOptionPane.showMessageDialog((Component) null,
"Unable to connect to Database..."+
"\n"+sqlex.getMessage(),
"Error...",
JOptionPane.ERROR_MESSAGE);
catch(ArrayIndexOutOfBoundsException e){
//show message
JOptionPane.showMessageDialog((Component) null,
"Unable to Load User Name..."+
"\n"+e.getMessage(),
"Error...",
JOptionPane.ERROR_MESSAGE); -
How can i get all the users from weblogic server?
how can i get all the users from weblogic server?
i have configurated a LDAP server using iPlanet and
in weblogic server console i see those users from LDAP
server. but how can i get all the users in my program
from weblogic server instead of LDAP server?
BTW,how to configure a RDBMSAuthenticator and what should i do
in Oracle? which tables should i create? and how are their architectures?
Thanks
DanielBTW, i use weblogic platform 8.1
"Daniel" <[email protected]> дÈëÓʼþ
news:[email protected]..
how can i get all the users from weblogic server?
i have configurated a LDAP server using iPlanet and
in weblogic server console i see those users from LDAP
server. but how can i get all the users in my program
from weblogic server instead of LDAP server?
BTW,how to configure a RDBMSAuthenticator and what should i do
in Oracle? which tables should i create? and how are their architectures?
Thanks
Daniel -
Get all the user in the database
guys what is the commmand to get all the valid user for the database.
thx massume that I have logged into Oracle database (as a non administrator),and now by chance I forget my user name and password,then what is the select statement which tell me my user name and password with which I logged into the database in the first place.
Note : select sys_context ('userenv', 'session_user') from dual gives me the user name but how to get the password.
If you forget your user name, you have to talk to your administrator about it(I am sure they will keep some kind of records). If you forget your password, you could ask your administrator to reset it.
Password is stored in encrypted format in the database.
You may not be able to use it. For example, the real password could be 'ABCD' and the encypted format stored in the database could be '54395C04DCA3CA40' (column PASSWORD of data dictionary view 'DBA_USERS'). I am not aware of any algorithm that would be able to retrieve your actual password from the encrypted format stored in the database. -
Query to get all the worksheets for a particular work book
Hi All,
I want to get all the associated worksheets for a particular workbook. What query will fetch mne those details. Also, where can find the EUL5 tables documentation
Regards
ThomasHi Tamir,
Thanks so far. I am yet to make the crucial breakthrough as far my application goes. Are you talking about the EUL5_QPP_STATS table? I tried retrieving worksheets even from that table also with the following query
SELECT DISTINCT Eul5QppStats.QS_DOC_NAME,Eul5QppStats.QS_DOC_DETAILS
FROM EUL5_QPP_STATS Eul5QppStats,EUL5_DOCUMENTS Eul5Documents
WHERE Eul5QppStats.QS_DOC_NAME = Eul5Documents.DOC_NAME
However, the worksheet data retrieved by Discoverer Oracle's product is not matching my dataset for every workbook. Please suggest.
Reg
Thomas -
How can I get ALL the user info from WWW_FLOW_FND_USER -table?
Hi.
I use HTML DB authentication and therefore all my user information is stored in HTML DB tables. I can use :APP_USER to get USER_NAME, but in my application I need to have also USER_ID, FIRST_NAME, LAST_NAME and EMAIL_ADDRESS fields from database. I don't want to change any database/schema security level so I cannot read directly from WWW_FLOW_FND_USER -table when I am inside in SCOTT -schema/sec.level.
How to read all the information?Thank you for your help, but I cannot find any information about backage wwv_flow_user_api on OTN or in HTML DB documentation.
Where to start? -
In which table can i get all the SC for an approver.
Hello, i need to get a list of all SCs that an approver X has in his inbox.How can i do this(table preferably)?
thx in advanceHi,
You can do the following :
Run FM SAP_WAPI_CREATE_WORKLIST by giving the User Id as Input. This will return all the workitems WIS[] for the user irrespective of the Business Objects.
Use this result and filter by reading the records from table sww_contob. you can give the object type to this as 'BUS2121' . and lv_cont_obj_name ='REQREQ' and map the work id with WIS[].
This would give you all the records meant for approval for an approver.
Best Regards,
Sapna -
Accessing the user management API programmatically
I am looking for the officially supported method that could be used to access the user management API via "curl" for CRX:
There is a user management API described here:
http://sling.apache.org/site/managing-users-and-groups-jackrabbitusermanager.html
However, executing a command on CRX 2.2 such as:
curl -u:admin:admin http://localhost:7402/system/userManager/user.tidy.1.json
Only returns a message indicating that the contents have been redirected (without providing another URL).
Using the Content Explorer in CRX shows the list of users at: /home/users but I am not sure if a curl command could access the user list via that URL.
Any pointers on how this could be done are appreciated. This is for a partner.
Regards,
BlairI am a co-worker of MorrellJ. I am trying to do a change password request using the Jackrabbit User Manager with the REST URL /system/userManager/user/<username>.changePassword.json. The problem I am having is that this request requires an oldPwd form param in the request. The issue is that when I am trying to do this request it is in response to the user selecting "Forgot Password" so our logic has created a random password which we then email to the user so they can use that the next time they want to login. We need to change that user's password in CRX so they can log in using it next time. Since they haven't logged in there is no session, NOT the problem. THE PROBLEMS, I don't know 1. how to use the userManager to get that user's old password, since /system/userManager/user/<username>.json doesn't appear to return the password and 2. if I could get the old password it most certainly will be encoded, some how, so I will need some decoding algorithm to pass it through in order to get the actual password to set as the oldPwd form param to my change password request. Please let me know if you require any further explanation. Any assistance would be greatly appreciated. Thank you, in advance, for your assistance.
Sincerely,
Mike Sucena
[email protected] -
I am a new ipod touch user; have gone through all the dowload/install stuff, plugged the device into my computer but ipod screen still shows plug in to tunes. I am totally computer useless - how can I get my ipod to work, please? Charles Jones.
You did install the latest iTunes (10.5) right? If the problem was that iTunes does not see the iPod try:
iPhone, iPad, or iPod touch: Device not recognized in iTunes for Windows
or
iPhone, iPad, iPod touch: Device not recognized in iTunes for Mac OS X -
Query regarding the fields details in particular form for all the users in
Dear All,
I have one query regarding the fields details in particular form for all the users in company.
Let take an exapmle if i had created Purchase Order having fields in content tab as 1.Item No. 2.Quantity 3.Unit Proce 4.Total 5. Location.
While Login in User manager i set these fields only for Purchase order , but when i login from other user and open the similar purchase order the defaults fields are also seen including above 4 fieds .
Now my question is how to set the User choice fiels for the particular form that are common to all users.
Means whenever i login in any user and opens the same document the same fields should be seen....Thanksssss.........You have to login with each and every user and do the Form Settings of every forms, so that all the forms look same for all the users.
This is a manual job and you have do do it with every user login.
Alternately, you can try out this link that explains
[How to Copy One Screen Layout to Another User|http://www.sbonotes.com/2008/03/how-to-copy-one-screen-layout-to.html] -
How to write select query for all the user tables in database
Can any one tell me how to select the columns from all the user tables in a database
Here I had 3columns as input...
1.phone no
2.memberid
3.sub no.
I have to select call time,record,agn from all the tables in a database...all database tables have the same column names but some may have additional columns..
Eg: select call time, record,agn from ah_t_table where phone no= 6186759765,memberid=j34563298
Query has to execute not only for this table but for all user tables in the database..all tables will start with ah_t
I am trying for this query since 30days...
Help me please....any kind of help is appreciated.....Hi,
user13113704 wrote:
... i need to include the symbol (') for the numbers(values) to get selected..
eg: phone no= '6284056879'To include a single-quote in a string literal, use 2 or them in a row, as shown below.
Starting in Oracle 10, you can also use Q-notation:
http://download.oracle.com/docs/cd/E11882_01/server.112/e17118/sql_elements003.htm#i42617
...and also can you tell me how to execute the output of this script. What front end are you using? If it's SQL*Plus, then you can SPOOL the query to a file, and then execute that file, like this:
-- Suppress SQL*Plus features that interfere with raw output
SET FEEDBACK OFF
SET PAGESIZE 0
-- Run preliminary query to generate main query
SPOOL c:\my_sql_dir\all_ah_t.sql
SELECT 'select call time, record, agn from '
|| owner
|| '.'
|| table_name
|| ' where phone_no = ''6186759765'' and memberid = j34563298'
|| CASE
WHEN ROW_NUMBER () OVER ( ORDER BY owner DESC
, table_name DESC
) = 1
THEN ';'
ELSE ' UNION ALL'
END AS txt
FROM all_tables
WHERE SUBSTR (table_name, 1, 4) = 'AH_T'
ORDER BY owner
, table_name
SPOOL OFF
-- Restore SQL*Plus features that interfere with raw output (if desired)
SET FEEDBACK ON
SET PAGESIZE 50
-- Run main query:
@c:\my_sql_dir\all_ah_t.sql
so that i form a temporary view for this script as a table(or store the result in a temp table) and my problem will be solved..Sorry, I don't understand. What is a "temporary view"? -
Dear all,
I am very new to Sharepoint designer 2010. Its better to say, i am just stepping in.
I have sharepoint site which is accessible for all the users to update few information. But i want this site not to be accessible during a date range, say from 15th to 20th of every month.
I am planning to have something like this: If any user tries to access this sharepoint site between 15th to 20th date range of everymonth, then the browser must show an pop-up alert saying "This site is not accessible during this date range" and Redirect
this sharepoint site to someother site (Say http:// somesitename.xx.com) immidiately.
I know very little about how to add Javascript in sharepoint webpart.
Please provide the Javascript or any best alternate solution to my concern.
Thanks in advance.Hi,
From your description, my understanding is that you want to redirect sharepoint site to another site between 15th and 20th every month.
I agree with what Sudip says. If you still want to use JS code,You could try these steps
below:
Open your site with SharePoint Designer.
Click Master Pages in left navigation.
Find file v4.master, and backup it(it is very important).
Right click your v4.master,
choose "Edit File in Adavance Mode".
Add the code below into the <head/> tag.
<script src="https://code.jquery.com/jquery-1.11.1.min.js" type="text/javascript"></script><script
type="text/javascript">
$(document).ready(function(){
var today = new Date();
var day = today.getDate(); // get current day
var id = _spPageContextInfo.userid; // get the id of current logon in user
var boolFlg = false;
$.ajax({
url: _spPageContextInfo.webAbsoluteUrl + "/_api/web/SiteGroups/GetByName(\'"+"sharepoint Owners"+"\')/Users", //get users in a specified group can access the sharepoint site from 15th to 20th every
month
type: "GET",
headers: {"accept": "application/json;odata=verbose"},
success: function (data) {
if (data.d.results) {
var src = data.d.results;
for(var i = 0; i < src.length; i++){
if(src[i].userid==id){ //check the logon in user in the specified group or not
boolFlg = false;
break;
if(!boolFlg){
if(day <= 20 && day >=15){
alert("This site is not accessible during this date range"); // alert the message
location.href = "http:// somesitename.xx.com"; // redirect to another site
error: function (xhr) {
alert(xhr.status + ': ' + xhr.statusText);
})</script>
Best Regards
Vincent Han
TechNet Community Support -
Need user exit and runtime structure to get all the unsaved entries in CAT2
Hi Friends
As per our requirement, we need to compare all the entered hours from CAT2 vs Project level assigned hours.
If user save the record in CAT2, then no problem.I can get the records from CATSDB table.If user enter the record in first week and goes to next week without saving time entries in CAT2, Runtime structure catsd_imp-sumdays in user exit CATS0009 shows the current screen hours only.But I want to get all the entries entered in CAT2(Unsaved records).Is there any other user exit or badi available to get this functionalites.I tried with CATS0006 ,CATS0003 and so many user exits.But still I didnt get any solution for this.
If anyone come accross this kind of scenario,kindly help me on this.
Thanks
Gowrishankar
Edited by: gowrishankar p on Nov 1, 2010 2:24 PMHi
I didn;t find any badi for this transaction , check this onc CATS0010 once.
Regards
Siva -
TS3899 Cannot get mail the user name or password for Suddenlink is incorrect
I have not once had an issue with this. I have not changed my password or anything. I have the iPhone 4. All of a sudden, the message error pops up that says " Cannot get Mail" The User name or Password for Suddenlink is incorrect. Please help!!!!!!
All customers should now have the ability to send and receive email through Suddenlink’s email service, and the vast majority should have full service, including access to all mail, folders, contacts, and settings. We will continue working until the remainder of customers have full email service restored. I'm very sorry for the inconvenience and thank you for your patience as we continue to work to restore full email service for all customers.
Maybe you are looking for
-
Made a mess of my clean install
OKay, I took a copy of my lion install onto dvd. I clicked reinstall which worked fine, however I wanted a clean install of lion on my machine as I have issues with too much content too little hardrive space. So my thinking was clean install and the
-
Capturing data changes in alv using classes
Hello All, Currently am working on alv report using classes..,In this report am displaying 3 grids in the output in 3 different containers(cl_gui_custom_container)...,Am able to handle the data changes done in the grid at the run time using event d
-
Why was yesterday the typefont Lato displaying good in design mode and today looks like Arial?
why was yesterday the typefont Lato displaying good in design mode and today looks like Arial? In preview mode its looking good
-
Encoding error arises when you attach music from ITunes
Does anyone else get this problem when burning?
-
Hi All I'm new to this flex stuf and trying to work through the book "Flex 2 Training from the Source" Some of the examples run fine. Mostly the lower level chapters. After applying the Arrata updates to the flexGrocer (completed folder) and to the f