laleh - Monday, April 25, 2011 5:11 PM:
1. How can I view all group memberships assigned to a particular user?
2. How can I see a list of everything one user has created/modified?
Ideally, I'd like to see all this in one place. Thanks.
Brian - Tuesday, May 3, 2011 6:05 AM:
Hi Laleh,
There is an Administration Utility on the Projects Page that can probably help with the first item. http://www.aras.com/communityprojects/?projectid=BC25F36A5A6B405486F46DDC1EB30EED
For the second it isn't necessarily all that simple to do. Here is the approach that I would take:
I'll write any code for c#
Retrieve a list of all Non-Relationship Item Types using:
Item itemTypes = this.newItem("ItemType","get");
itemTypes.setProperty("is_relationship","0");
itemTypes = itemTypes.apply();
Now iterate through all of these to find any where the modified by id or the created by id matches your user.
assume userId = the ID of the user we are looking for.
for ( int i = 0; i < itemTypes.getItemCount(); i++){
Item itmTyp = itemTypes.getItemByIndex(i);
Item itms = this.newItem(itmTyp.getType(),"get");
itms.setProperty("created_by_id",userId);
itms = itms.apply();
if (itms.isError() )
{
// there are no items of this type created by this user.
continue;
}
for (int j = 0; j <itms.getItemCount(); j++)
{
Item itm = itms.getItemByIndex(j);
// write some code to populate a grid with the information you need from the item
}
}
Wrap all of that in an HTML field on a form or an external HTML page and display it using an Action.
Note that this code is written in this editor and has not been tested so sorry if there are some syntax errors but that is close to what I would do.
You could repeat this for the "modified_by_id" or you can use an AML String to build the query using an "<or>" tag. I'm not sure how to do that with the IOM calls.
Like I said, not the easiest thing to achieve.
Hope this helps.
Brian.
authentic - Monday, August 15, 2011 3:55 AM:
fdgvfbhTiger3:
A woman has all the right to be nice to herself. Thus, the Christian Louboutin Boots come into the spotlight. Any lady should make herself comfortable and happy and buy all that she wants with her hardearned money. Thus, she should get herself a pair of Christian Louboutin Pumps to wear to the parties. This may be least she could do for herself, making herself sparkle and bright and beautiful.The Christian Louboutin Canada is a wonderfal maker of women shoes. He knows the needs of ladies and thus, knowing the right shoes that ladies would love. The Christian Louboutin Peep Toe is a good choice to wear on the hot summer evenings. Christian Louboutin Bridal will help make your leg long and slender and sexy, attracing the eyeballs of all those around you and getting those envious eyes of your fellow ladies, making you the pretiest bride ever. So what are you waiting for? The Christian Louboutin Sale provides you with a wide variety of wonderful Christian Louboutin Slingbacks and Christian Louboutin Sandals for you to choose from. Not to forget there is also Christian Louboutin Mens for the men. You are sure to be able to find your dream Christian Louboutin Wedges here.
laleh - Tuesday, May 3, 2011 7:46 PM:
Thanks Brian.
I downloaded and used the 'Solutions Upgrade Tool' http://www.aras.com/communityprojects/?projectid=DD32FF42D8B14CB28CD4732AAF2F5349 to import the 'User Administration Wizard' that you refered me to. I get:
Action already exists. Violation of PRIMARY KEY constraint. faultcode:-1
Was this utility a part of the standard Innovator install, or has something gone wrong?
When I right-click on a user I have a 'Where used' menu option is this action came with Innovator itself or is it part of the 'User Administration Wizard'?
BTW, while root is logged in through the 'Solutions Upgrade Tool' can users access the Innovator or not?
Brian - Tuesday, May 3, 2011 9:26 PM:
Hi Laleh,
Where used is a standard part of the system.
Users should be able to log in while Root is logged in through the solutions upgrade tool.
The error is not what I would expect to see.
In the folder that you ran the Import tool from there should be a log folder with a log of the import results. This will give you more information about what actually went wrong.
I just imported the User Admin Wizard into a mostly empty 9.2 Community Release database and it works ok.
If you want to send me the log results you can send it to [email protected] and I will have a look at it.
Cheers,
Brian.