Retrieving user detail, group name for all users
Hi,
How can I retrieve User name, email, authentication, user group name
for all users using SDK.
It is possible to create this report in webi or CR?
Thank you for reply,
Gregor
Use the following code to retrieve this information:
IInfoObjects users = oInfoStore.query("select * from ci_systemobjects where si_kind='user'");
for (int i=0; i<users.size(); i++)
IUser user = (IUser)users.get(i);
// user.getTitle(); for user name
// user.getFullName(); for user's full name
// user.getEmailAddress(); for user's email address
// for authentication type:
IUserAliases alises = user.getAliases();
for(int j=0; j<aliases.size();j++)
IUserAlias alias = alises.get(j);
// alias.getAuthentication() for authentication associated with this alias, since same user can have more than 1 authentication. e.g. Enterprise and Ldap.
// for user group memberships:
java.util.Set groups = user.getGroups();
// the groups Set object will contain SI_ID of all the user groups that this uses is member of. You need to query by the SI_ID of the usergroup to get the group names.
// e.g.
// oInfoStore.query("select si_id, si_name from ci_systemobjects where si_kind='usergroup' and si_id in (a,b,c....)");
where a,b,c are the SI_IDs of the usergroups.
To create a report based on the above fetched data, there are several methods such as:
you can use Java resultset where in you create the report structure in designer and push the data at runtime using java result set objects. Another way is to push this info in Excel or Access and design your report based on that excel\access.
Similar Messages
-
How to set default User preferences in Analyzer for all users
How to set default User preferences in Analyzer for all users<BR><BR>Hi,<BR><BR>I would like to set some settings in Analyzer as default for all users. For example:<BR>1. Display | Char<BR>2. right mouse click on char | Chart Properties<BR>3. Axes tab<BR>4. "Format: Currency" i would like to change to "Format: Number".<BR><BR>How to set default values to all users? Is this possible?<BR><BR>Thanks,<BR>Grofaty
I'm pretty sure higher access superceedes, so you could set up a group with no actual access, just to get the preferences working, then their individual security will dictate what they can do. I haven't tested this fully, but I beleive this is how it will work.<BR>As far as setting the preferences, go into the admin console and right click on the group, then select Preferences. To apply the group preferences to a user, add the user to the group, then right click on the user, select preferences and from the upper left corner, use the drop down to select the active preference, in this case, it will be the group you created and added them to.<BR><BR>HTH
-
Users can see documents for all users on the computer?
when I log in to user A and do a search this Mac, it finds all documents even from other users that are supposed to be confidential! How can I change this so that searches only find documents on that user?
HunterGuess you're my Ed Snowden go to guy for this stuff.
I have been naively thinking my confidential stuff was confidential. I don't think my staff have the wherewithal to figure that out and they are too busy and generally good people anyway.
One think I did notice when I was browing the Users from my employees computer: all other Users Documents folder had the RED dash on the folder. The only one missing the red dash was from mine which is the confidential User. I did set my documents folder to NO Access earlier today but no red dash appeared on that folder. Just checked it again after a restart. seems odd.
Thanks very much for your help Barney. -
Fast user switching menu - how do I have icons for all users?
I'm setting up a new computer for three users. I have enabled the fast user switching menu. I set the menu to 'Icon'. However, it only shows the icon for myself, the admin. For the other two accounts, when they log in it remains as their (rather long) real names. The same thing happens if I select 'Account Name': it only shows the 'Account Name' for myself. When I switch to the other users, it is still their real name.
How can I have icons (or account names) for ALL users??See CCK Wizard: https://addons.mozilla.org/firefox/addon/cck/
You can use a mozilla.cfg file in the Firefox program folder to lock prefs or specify new (default) values.
Place a file local-settings.js in the defaults\pref folder where you also find the file channel-prefs.js to specify using mozilla.cfg.
pref("general.config.filename", "mozilla.cfg");
pref("general.config.obscure_value", 0); // use this to disable the byte-shift
See:
*http://kb.mozillazine.org/Locking_preferences
These functions can be used in the mozilla.cfg file:
defaultPref(); // set new default value
pref(); // set pref, but allow changes in current session
lockPref(); // lock pref, disallow changes -
I want to understand if we change User logon Name to Employee Number format in Active Directory for all User accounts, then what would be the impact on existing profile. Whether we need to change it manualy or it will connect to same profiles in terminal
session.
As i observed it create new profile after logon name changed to employee number where existing users profile settings get fails to load and prompt for new settings (such as outlook reconfiguration, share drive mapping etc.).
Kindly let me know the proper process to overcome with this, how to connect same existing roaming profile with employee number format change.Hi,
What if we change the user name of user account, will it have impact on roaming profiles.
Yes, it will affect roaming profiles. Please rename the roaming profile folder as the new user account name, in addition, change the profile path in ADUC.
Here is an related article below for you:
How to Rename a Windows 7 User Account and Related Profile Folder
http://social.technet.microsoft.com/wiki/contents/articles/19834.how-to-rename-a-windows-7-user-account-and-related-profile-folder.aspx
Best Regards,
Amy -
Disable right click for all users in a certain group
I would like to disable the right click function for all users in a particular group, regardless of which computer is the domain they log in to. Is there any way to do this? Thanks.
1. Create a new group policy and link it to the OU with the users you want to be affected.
2. Edit the new policy - In the left pane navigate to:
User Configuration \ Administrative Templates \ Windows Components \ Windows Explorer
3. Enable the setting Remove Windows Explorer's Default Context Menu.
Please let me know if you succeeded.
Regards, Liran. -
How can I deploy EFS using Group Policy and Active Directory with a goal to automatically encrypt computers for ALL users who login? (NOT an option for me to use BitLocker)
I was asked to deploy EFS to encrypt the user my documents folder and profile on all of the users laptops. The laptops are in common areas (board meeting rooms, etc) and security of files is a must.
I successfully created a recovery certificate in AD. I created an OU and setup an EFS policy and users can now login and select to encrypt their own files. The issue is that management would like to have automaticy Encrypt ALL users my documents AUTOMATICALLY
when a user login.
Can this be done?
Please helpHi,
Any update?
Just checking in to see if the suggestions were helpful. Please let us know if you would like further assistance.
Best Regards,
Andy Qi
TechNet Subscriber Support
If you are
TechNet Subscription user and have any feedback on our support quality, please send your feedback
here.
Andy Qi
TechNet Community Support -
URGENT : How to retrieve Last Accessed Timestamp for all Users in GRC
Dear Experts,
Please help me with this urgent request. Appreciate your help in advance.
My client is trying to understand the usage of the GRC application and would like to know information regarding the Last Accesse Time for all users who have logged into the Oracle's Governance, Risk and Compliance applcaition.
Thank You,
RakeshIf you still need the solution,
Have a callback on OnSubtaskUpdated in your BPEL. This call back will be called for any updates in parallel approval pattern.
Thanks
--Sreeny -
Default Color, Size and Font for all user.
Hi
I have been looking around for the correct way to set some default styles for all Word users in a domain thrugh GPO. I just have some questions.
So far i can only get it working if it set a "Workgroup templates path" under "User Configuration/Administrative Templates/Microsoft Office 2013/Shared paths". Then the users are able to select it when they say "New" - "Shared"
and then the template
But i would like it to be default for all users, like in the Normal.dotm. But without making a script to replace the file for every users APPDATA.
Then i saw the "User Configuration/Administrative Templates/Microsoft Office 2013/Shared paths/Enterprise templates path", how and what does that do?Hi,
As far as I know, if we want to distribute the Normal.dotm to users in a domain through GPO, we could
use GPP file extension to
distribute Normal.dotm to the path "C:\Documents and Settings\user name\Application Data\Microsoft\Templates." for every user. For more detailed steps, please refer to the following link:
http://technet.microsoft.com/en-us/library/cc772536.aspx
Similar issue:
https://social.technet.microsoft.com/Forums/windowsserver/en-US/87ab10d3-1cb6-4269-9334-1e0c37527e0a/move-location-of-normaldotdotm-to-central-file-server-best-solution?forum=winserverGP
If you want to config Enterprise templates path, please read this thread:
https://social.technet.microsoft.com/Forums/office/en-US/c4e5c872-402c-4339-9c02-cfa91e949e41/office-2013-templates-group-policies?forum=officesetupdeploy
If you have further question about the GPO, I recommend you post it to GPO forum:
https://social.technet.microsoft.com/Forums/windowsserver/en-US/home?forum=winserverGP
Regards,
George Zhao
Forum Support
Come back and mark the replies as answers if they help and unmark them if they provide no help.
If you have any feedback on our support, please click "[email protected]" -
Report all activations of Office 365 ProPlus for all users
Hello:
I know that I can open my Office 365 Settings, Software, and see how many devices I have activated Office 365 Pro-plus on.
What I am looking for is a way for an Admin to run a Powershell script (or command) to retrieve the activations for ALL users in a tenant.
Thanks
TimHi Tim,
As far as I know, this is not possible. We can use Get-msoluser command to get the license status. But we can’t get details of all users’ activated computer name list for the Office 365 tenant with a Powershell script.
By the way, this forum focuses on questions and feedback for Microsoft Office Client. There is not so much about Office 365
console/hosted/cloud aspects here. For your case, I would suggest you to post in the forum of Office 365 Community, where you can get more experienced responses:
http://community.office365.com/en-us/f/default.aspx
The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.
Regards,
Ethan Hua
Forum Support
Come back and mark the replies as answers if they help and unmark them if they provide no help.
If you have any feedback on our support, please click
here -
Dear All,
I am using MSSQL SSRS 2008.
All the reports run properly when viewed via a web browser. However for subscription, I am having a strange
experience.
The subscription having intermitten failure. I need to execute multiple times to get it work.
Following is the exception I am getting:-
Failure sending mail: The user or group name 'xxxxx' is not recognized.Mail will not be resent.
Failure writing file DailyPolicyExportCDN_ST@timestamp : The user or group name 'xxxxx' is not recognized.
Following is the exception I retrieve from log files.
webserver!ReportServer_0-2!1b0c!07/31/2014-05:25:09:: e ERROR: Reporting Services error Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerHttpRuntimeClientDisconnectionException: A client has disconnected from the Report Server Web service application
domain ReportServer_MSSQLSERVER_0-2-130512716074991980. No corrective action is required. An error code has been submitted to ASP.NET to release the connection. The error code is 800708CA. ---> System.Runtime.InteropServices.COMException: This network connection
does not exist. (Exception from HRESULT: 0x800708CA)
Any idea what went wrong?
Thanks in advanceHi NeoCK,
According to your description, you can access your report successfully, but it fail to send e-mail subscription. Right?
In this scenario, since you can access the report successfully, so this user has permission on report server. Please go to E-mail setting in your Reporting Services Configuration Manager, check if the current user has permission on that SMTP server.
If this is still not working, please recreate the subscription and try again.
Reference:
SUBSCRIPTION
ERRORs : Failure sending mail: The user or group name 'CB_OFFICE\XXXX' is not recognized.
The user or group name 'MYDOMAIN\myuser'
is not recognized
SSRS
2008: Failure writing file ... The user or group name 'domain\user' is not recognized
If you have any question, please feel free to ask.
Best Regards,
Simon Hou -
Hello,
I have a big problem with Reporting Services 2005 working on Windows 2003 Server.
RS work as Network service, on subdomain reporting.mydomain with SSL wildcard certificate *.mydomain,
Anonymous access: disabled and basic authentication: enabled
ReportManager and reportServer has defualt virtual folders (/reporting, /reportserver)
My problem is:
1) I can't manage security roles and site settings with report maanger. when I try assign roles to new user or group I get followng error:
"The user or group name 'BUILTIN\Administrators' is not recognized. (rsUnknownUserName) Get Online Help"
when i try to execute reports in report manager, parameters controls are not displayed correctly (very simple text boxes) and I can see:
The selected report is not ready for viewing. The report is still being rendered or a report snapshot is not available. (rsReportNotReady)
and I can't see my report in browser (IE 6.0) but only export to PDF, Excel...
other functionality are working fine i.e upload new files, creatign folders....
2) Also my reportserver virtual folder does not work correctly.
When I navigate to mydomain/reportserver I can see content of this virtual folder, than when I navigate to ReportService.soap i can see normal ReportServer view
reporting.mydomain - /Reportserver/
[To Parent Directory]
Montag, 10. April 2006 16:31 <dir> bin
Dienstag, 6. September 2005 01:12 488278 Catalog.sql
Dienstag, 6. September 2005 01:12 14738 CatalogTempDB.sql
Freitag, 21. April 2006 19:45 10555 Copy of rsreportserver.config
Freitag, 14. April 2006 17:29 76 global.asax
Freitag, 15. Juli 2005 01:12 26582 ModelGenerationRules.smgl
Montag, 10. April 2006 16:31 <dir> Pages
Montag, 10. April 2006 16:31 <dir> ReportBuilder
Montag, 13. Juni 2005 14:07 143 ReportExecution2005.asmx
Montag, 13. Juni 2005 14:06 196337 ReportingServices.wsdl
Montag, 13. Juni 2005 14:07 131 ReportService.asmx
Montag, 13. Juni 2005 14:07 131 ReportService.soap
Montag, 13. Juni 2005 14:07 139 ReportService2005.asmx
Dienstag, 13. Juni 2006 20:01 10580 rsreportserver.config
Montag, 13. Juni 2005 14:07 11845 rssrvpolicy.config
Montag, 10. April 2006 16:31 <dir> Styles
Freitag, 17. Juni 2005 01:09 2673 web.config
but me reports are not displayed correctly, I can run reports but top bar with parameters, export and print function are not displayed in correct format.
(simple textboxes, and icons)
reporting.mydomain/ReportServer - /
Microsoft SQL Server Reporting Services Version 9.00.1399.00
I think it is security issue. What schould i do to solve this problems?
WojtekHi Wojtek
I just wanted to know if you found a solution for part (1). I just recently encountered the problem where:
"when i try to execute reports in report manager, parameters controls are not displayed correctly (very simple text boxes) and I can see:
The selected report is not ready for viewing. The report is still being rendered or a report snapshot is not available. (rsReportNotReady) "
However all my reports are run from the most recent data. The rsReportNotReady message appears in Report Manager but not the Report Server interface; the latter is able to render the reports. But both have incorrectly displayed textbox inputs.
Thanks
nemo -
How to set a common page for all users after loging on?
hi all,
Now "My Dashboard" is the default page after logon.
i want to set a default home page for all users. users can see the home page after loging on.
how to change the default dashboard from "My Dashboard" to "Home page" for all users?
thanks,
danHi,
Steps:
Tried to set default dashboard for all the users.
1. Created a session init block
2. Used data source as select '/shared/SH Test/_portal/Test1' from dual
3. Assigned this value to PORTALPATH session variable
4. In Presentation services > Administration > My account > Default dashboard should be set to 'default'. Then only the dashboard specified in init block will be displayed otherwise My account will override the init block.
5. Save the changes made to rpd.
5. Logout and relogin to see if it is working fine. it is working perfectly fine.
For details please refer the GSC replication document. But it is for all the users.
if customer would like to have user/group based home page.
1. They may need to have 2 separate tables.
i. Group_path_tab with 2 columns. Group_id, portal_path
Have group wise portal path for all the groups
ii. User-group map table
Group_id, Group_name, user_id
User should be part of some group.
2. Then in the init block write the sql should be something like this
select A.portal_path from Group_path_tab A, User_group_map B
where B.user_id = :USER
and B.Group_id = A.Group_id
SO based on USER session variable, it will try to identify the group and then the portal_path.
Finally assign this value to PORTALPATH session variable.
ref:
http://total-bi.com/2011/01/obiee-11g-change-default-dashboard/
Thanks! -
FindGroups - Error while getting group list for login user
Hi All,
I am using below code snippet to search a group in OIM but it gives me "Error while getting group list for login user" error message.
tcResultSet rsetAss = null;
tcGroupOperationsIntf groupIntf = (tcGroupOperationsIntf)utilFactory.getUtility("Thor.API.Operations.tcGroupOperationsIntf");
HashMap mapGrp = new HashMap();
mapGrp.put("Groups.Group Name","DEF_GROUP");
rsetAss = groupIntf.findGroups(mapGrp);
And i am ruuning this code using xelsysadm logon.
com.thortech.xl.util.config.ConfigurationClient.ComplexSetting config = ConfigurationClient.getComplexSettingByPath("Discovery.CoreServer");
Hashtable env = config.getAllSettings();
com.thortech.xl.crypto.tcSignatureMessage moSignature = tcCryptoUtil.sign("xelsysadm", "PrivateKey");
utilFactory = new tcUtilityFactory(env, moSignature);
Any guess?
Thanks & Regards
Inbaa.Here it is Rajiv,
public class GetUserApprover {
private String defGroup = "DEF_GROUP";
public tcUtilityFactory getUtilFactory()
tcUtilityFactory utilFactory = null;
try
logger.debug("Initializing the utilFactory");
com.thortech.xl.util.config.ConfigurationClient.ComplexSetting config = ConfigurationClient.getComplexSettingByPath("Discovery.CoreServer");
Hashtable env = config.getAllSettings();
com.thortech.xl.crypto.tcSignatureMessage moSignature = tcCryptoUtil.sign("xelsysadm", "PrivateKey");
utilFactory = new tcUtilityFactory(env, moSignature);
catch(Exception ex)
logger.info("Error while getting the utilFactory" + ex.getMessage());
System.out.println(ex.getMessage());
return utilFactory;
public String getGroupKey(String defGroup){
String groupKey = null;
tcUtilityFactory utilFactory = getUtilFactory();
if(utilFactory != null)
System.out.println("utilFactory not null. Searching for group:" +defGroup );
try
tcResultSet rsetAss = null;
tcGroupOperationsIntf groupIntf = (tcGroupOperationsIntf)utilFactory.getUtility("Thor.API.Operations.tcGroupOperationsIntf");
HashMap mapGrp = new HashMap();
mapGrp.put("Groups.Group Name","DEF_OWNER_GROUP");
System.out.println("Finding Group....");
rsetAss = groupIntf.findGroups(mapGrp);
System.out.println("RowCount-->" +rsetAss.getRowCount() );
rsetAss.goToRow(0);
groupKey = rsetAss.getStringValue("Groups.Key");
System.out.println("GroupKey-->" + groupKey);
catch(Exception e){
System.out.println("Error" + e.getMessage());
return (java.lang.Object)groupKey;
} -
Hi,
I have posted this in another large thread under the "Windows 8 General" group but have not had any appropriate feedback from MS.
After hours of testing and working with other users I have managed to isolate a simple situation that breaks all metro ui applications within Windows 8 for all users on the machine. Here are my exact steps and notes.
Before continuing if you are running Avast then your solution may be to turn of the behaviour shield functionality as this also breaks metro apps. This is NOT the problem we are having!
I have performed 3 cleans installs after isolating the problem and am able to reproduce the issue every time using the same steps on two different machines.
First thing to say is that for us it has nothing to do with simply joining the domain, domain/group policies nor does it appear to have anything to do with the software we installed, the problem here is much more simple but the result is pretty terrible.
Here are my exact steps of what I did to reproduce our problem:
Complete format of HDD in preperation for a clean install
Clean install performed
Set up the machine initially with a local account
Test metro apps - all working fine
Open control panel from the desktop, click on System, change the system to join the domain, click reboot
Log into the system using my domain account
Test metro apps - all working fine
Here's were the problem starts. I need my domain account to have admin rights on the local machine so I can install programs without the IT men having to come over and enter their password every 5 mins.
I go to control panel via the desktop and click on User Accounts. From with here I then click on "Manage User Accounts". This requires the IT guys to enter their details to give me access to such functionality. This is fine
In the dialog box that opens I can only see the local user that was initially created during setup. The "Group" for this local account shows as "Administrators" - Image included below (important to note that metro apps are working at this point)
I click add and then add my domain account - also giving it administrator access
Sign off or reboot to ensure the new security is applied
Sign back in to the domain account
Test metro - ALL BROKEN
Sign out
Sign in as local account
Test Metro - NOW ALL BROKEN FOR THIS USER ALSO
So as soon as I add my domain account to the local user accounts and set it as admin it breaks all metro apps for all users. This is on a totally clean install with nothing at all installed other than the OS.
Annoyingly if I go back and change the domain account to a standard user or if I totally remove the domain account from the local account management system the problem does not go away for either user. basically it is now permanently broken. The only fix I
could fathom was a full re install and not giving the domain user admin access to the local machine.
Screen one - this is the local user accounts window AFTER joining the domain and logging in with my domain account (All metro apps working at this point)
Screen 2: User accounts AFTER joining the domain and AFTER adding domain account to local user management (METRO BROKEN)
I have isolated my machine from all group policies so nothing like that is affecting me. Users I have spoken to in different companies have policies that automatically add users to the local user management. This means that metro apps break as
soon as they join the domain which leads them to wrongly think it is group policies causing the error. Once they isolate themselves from this they can reproduce following my steps.
ThanksHi Juke,
Thank you for the response and apologies for the delay in getting back to you. My machine was running a long task so I couldn't try your suggested solution.
I had already tried running the registry merge suggested at the top of the thread to no avail. I had not tried deleting the OLE key totally so I did that and the problem still exists. I will post all the errors I see in event viewer below. For
your info, since posting my initial comment I have sent out my steps to 7 different people and we can all reproduce the problem. This comes to 10 different machines (3 of them mine then the other guys) in 3 different businesses / domains. We see the same errors
in event viewer.
Under "Windows Logs" --> "Application" : I get two separate error events the first reads "Activation of app winstore_cw5n1h2txyewy!Windows.Store failed with error: The app didn't start. See the Microsoft-Windows-TWinUI/Operational log for additional
information." The second arrives in the log about 15 seconds after the first and reads "App winstore_cw5n1h2txyewy!Windows.Store did not launch within its allotted time."
Under "Windows Logs" --> "System" : I get one error that reads "The server Windows.Store did not register with DCOM within the required timeout."
Under "Applications And Services Logs" --> "Microsoft" --> "Windows" --> "Apps" --> "Microsoft-Windows-TWinUI/Operational" : I get one error that reads "Activation of the app winstore_cw5n1h2txyewy!Windows.Store for the
Windows.Launch contract failed with error: The app didn't start."
If you require any further information just let me know and I will provide as much as I can.
Thanks
Maybe you are looking for
-
How to fetch oracle process id from a stored procedure.
Hi, I want to fetch the oracle process id from within a stored procedure. I know that the one way to do this is using the v$process view. But, a grant has to be given to the user on this table. Due to the strict policies at my workplace, I do not hav
-
Hi, I am trying to insert a date in the format "mm/dd/yy" to the database. For this I need to convert the string in the above given format to a date object(as the column in the database is of the tyoe Date). I tried using SimpleDateFormat....but it a
-
Looking for iphone games for mental math or vedic math training? Dear all,
Looking for iphone games for mental math or vedic math training? Dear all, I am a fan of mental math and/or vedic math etc. and I want to utilize my spare time to do some training whenever I am idle. That's why I want to buy an iphone. In fact, I buy
-
We have a/c cat.ref 0001 to 0005 for various material types but due to some requirement we want to merge all the a/c cat ref to 0001.what will be effect after doing? Thanks in advanc
-
Labview 2011 application crashes from time to time
Hi together, from time to time my LV application crashes. This happens in different stages of the program. I use some ext. DLLs written in C, some simple IO hardware and some serial communications with ext. hardware. My feeling is that it has s.th. t