Retrieving information about the logged in user in Power BI for O365
I am trying to retrieve the email of the current logged in user so i can pass it into a query to my sql server which then adjusts the data based on who is viewing a power bi dashboard. If anyone knows a way to grab that information or even the url that
the file has, then i can parse out its location and change my data based on that as well.
Currently row level security is not supported in Power BI.
Thanks,
Sagar K
(Blog: http://datamazik.blogspot.in/)
Similar Messages
-
Retrieve information about the operating system
Hi, I have an Air application and I need to retrieve
information such as local IP address, local computer name and
operating system user. It is possible?
Thanks,
Anselmoflash.system.Capabilities.os for operating system. IP and
computer name I don't think you can get in ActionScript. You could
get IP with a web service, but computer name... no idea, unless
it's possible to find it in the file system... -
Make information about the current user available in a managed bean
I've overridden prepareSession in an Application Module (AM) so that when a user logs into my application, it immediately uses the username as a bind variable to execute the query for a View Object (VO) that gets more information about the user, like full name, e-mail address ... This works fine and I'm able to bind the VO to a page and display the information.
But now I'm beginning to realize that I'm going to need this information about the user throughout the application. Do I have to include an iterator for the user info VO and associated attributeValues on every single pageDef, or is it possible to write a single managed bean that will expose the attributes of the single row of the VO as properties. The application I'm working on now is a "minor" upgrade of a JDeveloper 10.1.3 application, so I need a 10.1.3 solution, but I have a 11.1.2 application in the works that will probably do the same thing.
Oh, and sorry if this is an FAQ - I'm probably not using good search terms to find solutions that have already been posted.Thank you Nick -
Your code didn't give me exactly the answer I needed, but it pointed me in the right direction. For one thing, I had a version of ADFUtils that didn't have the getApplicationModuleForDataControl method. However I was able to do a Google search and find working code for the missing method. And since the values I need to expose in the managed bean are from the VO, not the AM, I had to go one step further and get a reference to the VO from the AM, and then a reference to the first (and only) row of the VO.
For anyone else with this question, here's my version of the code:
public class UserInfo implements Serializable {
private String eMail;
private String stateCode;
private String fullName;
public UserInfo() {
AppModuleImpl appModule =
(AppModuleImpl)ADFUtils.getApplicationModuleForDataControl("AppModuleDataControl");
ContactInfoViewImpl contactInfoVO =
(ContactInfoViewImpl)appModule.getContactInfoView1();
contactInfoVO.reset();
ContactInfoViewRow contactInfo =
(ContactInfoViewRow)contactInfoVO.first();
stateCode = contactInfo.getConStCode();
System.out.println("At construct UserInfo stateCode=" + stateCode);
eMail = contactInfo.getConInternetAddr();
System.out.println("At construct UserInfo eMail=" + eMail);
fullName =
contactInfo.getConFname() + " " + (contactInfo.getConMi() != null ?
contactInfo.getConMi() +
" " : "") +
contactInfo.getConLname();
System.out.println("At construct UserInfo fullName=" + fullName);
public String getStateCode() {
return stateCode;
public String getEMail() {
return eMail;
public String getFullName() {
return fullName;
} -
User Information in the log file
Hi All,
Customer wants to know if it is possible to get information in the log files as to which users have accessed the documents.
Any help would be much appreciated
Regards,
GeetaYou may also want to look at using the Auding framework that was introduced in Content Services patch 10.1.2.3.
The Content DB development kit has various information present that describes how to leverage this functionality.
-Matt. -
Information about the default setup for the demo user
Hi,
Can anyone guide me the properties which we have to set for the below
# Information about the default setup for the demo user.
db.adminUser=system
db.demoUser=FOD
db.demoUser.password=fusion
db.demoUser.tablespace=USERS
db.demoUser.tempTablespace=TEMP
And what exactly they represent
Regards,
KrishnaKrishna,
It's pretty obvious...
db.adminUser = the username of a dba user in your database
db.demoUser = the username of the demo user that will get created
db.demoUser.password = the password that will be used for the demo user
db.demoUser.tablespace = the default tablespace for the demo user
db.demoUser.tempTablespace = the default temporary tablespace for the demo user
You don't have to change any of them.
John -
I would like to have more information about the cookies being stored on my computer via firefox- such as last date accessed/created/modified; how can I add these options to cookie storage?
Maybe this extension will do that:
*Cookies Manager+: https://addons.mozilla.org/firefox/addon/cookies-manager-plus/ -
Error when setting GPO Display information about previous logon during user logon on Wins 7
We recently try to deploy a GPO on our network (All Server 2008 and Windows 7) to show previous logons during
user logon. The setting is located in Computer Configuration| Policies |
Administrative Templates | Windows Components | Windows Logon Options | Display
information about previous logons during user logon = Enabled. Our domain
level is set to Windows Server 2008. I verified that it is Windows Server 2008
on Domain and Trust.
Here is the article about this setting
Active Directory Domain Services: Last Interactive
Logon
But after we deploy the setting, we are no longer able to login
to any of our windows 7 machines. All of them got an error message said :
“Security policies on this computer are set to display information about the
last interactive logon. Windows could not retrieve this information. Please
contact your network administrator for assistance.”
The setting
worked on windows server 2008. I was able to login to DC and revise the setting,
so we can log back in the windows 7 machines.
Anyone has experience this
issue before? I looked up all of the web and only thing they said is to make
sure the domain functional level must be set to Windows Server 2008, which it
is.Hi,
Have we also applied this setting to domain controllers? To make this policy work properly, we also need to apply this setting to domain controllers. If not, users will not be able to log on to the system.
Regarding this point, the following article can also be referred to for more information.
Group Policy Setting of the Week 35 – Display information about previous logons during user logon
http://www.grouppolicy.biz/2010/07/group-policy-setting-of-the-week-35display-information-about-previous-logons-during-user-logon/
Best regards,
Frank Shen -
Hello,
We recently upgrade our SQL Server 2012 SP1 (64bit) dev edition to standard edition, after we purchased the required licence and it was deployed in production.
Since the edition change, we are now receiving the following error, with some of our jobs, which have an e-mail step in them, which is causing the jobs to fail.
Msg 14661,Level 16, State 1, Procedure sp_send_dbmail, Line 517
Query execution failed: Msg 15404, Level 16, State 19, Server BL-SVR15, Line 1
Could not obtain information about Windows NT group/user 'BLUELIZARD\savaa', error code 0x6e.
Any ideas how to fix this issue? We were also having a similar error, when executing the jobs, but changing the job owner to SA has fixed this issue.
Thanks,
Andy.Hi,
Which user account you used for SQL Server service, domain account or local account?
If it is domain account, are you able to log in to a machine with it?
Make sure that the password of account is not expired.
Also, grant the user Allowed to Authenticate permission and see how it helps.
Refer to the below article:
http://geeks.ms/blogs/ozonicco/archive/2013/01/14/208266.aspx
Thanks.
Tracy Cai
TechNet Community Support -
Have an existing ex2010 sp3 organization.
Could not run ex2013cu1 setup from my newly built 2012 server, getting the error in the subject line. I used the command line to run the AD preparation steps successfully from my 2012 DC/GC, then tried to run setup again from the new 2012 server and
still get the same error. The error itself in the log is pretty useless:
[05/07/2013 01:19:13.0137] [0] **********************************************
[05/07/2013 01:19:13.0137] [0] Starting Microsoft Exchange Server 2013 Cumulative Update 1 Setup
[05/07/2013 01:19:13.0137] [0] **********************************************
[05/07/2013 01:19:13.0152] [0] Local time zone: (UTC-08:00) Pacific Time (US & Canada).
[05/07/2013 01:19:13.0152] [0] Operating system version: Microsoft Windows NT 6.2.9200.0.
[05/07/2013 01:19:13.0152] [0] Setup version: 15.0.620.29.
[05/07/2013 01:19:13.0152] [0] Logged on user: DOMAIN\ADMINISTRATOR.
[05/07/2013 01:19:13.0168] [0] The registry key, HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ExchangeServer\V15\Setup, wasn't found.
[05/07/2013 01:19:13.0168] [0] The registry key, HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ExchangeServer\V15\Setup, wasn't found.
[05/07/2013 01:19:13.0215] [0] Command Line Parameter Name='sourcedir', Value='\\h1\f$\junk\installers\server\Exchange\2013cu1'.
[05/07/2013 01:19:13.0215] [0] Command Line Parameter Name='mode', Value='Install'.
[05/07/2013 01:19:13.0215] [0] RuntimeAssembly was started with the following command: '/sourcedir:\\SERVER\f$\junk\installers\server\Exchange\2013cu1 /mode:Install'.
[05/07/2013 01:19:13.0215] [0] The registry key, HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ExchangeServer\V15\Setup, wasn't found.
[05/07/2013 01:19:13.0793] [0] Finished loading screen CheckForUpdatesPage.
[05/07/2013 01:19:38.0762] [0] Finished loading screen UpdatesDownloadsPage.
[05/07/2013 01:19:40.0496] [0] Starting file's copying...
[05/07/2013 01:19:40.0496] [0] Setup copy files from '\\SERVER\f$\junk\installers\server\Exchange\2013cu1\Setup\ServerRoles\Common' to 'C:\Windows\Temp\ExchangeSetup'
[05/07/2013 01:19:40.0700] [0] Finished loading screen CopyFilesPage.
[05/07/2013 01:19:40.0840] [0] Disk space required: 1292445007 bytes.
[05/07/2013 01:19:40.0840] [0] Disk space available: 23767240704 bytes.
[05/07/2013 01:19:59.0762] [0] File's copying finished.
[05/07/2013 01:19:59.0965] [0] Finished loading screen InitializingSetupPage.
[05/07/2013 01:20:02.0934] [0] Setup is choosing the domain controller to use
[05/07/2013 01:20:09.0325] [0] Setup is choosing a local domain controller...
[05/07/2013 01:20:11.0794] [0] [ERROR] Setup encountered a problem while validating the state of Active Directory: Could not find information about the local site. This can be caused by incorrect configuration of subnets or sites or by replication latency.
See the Exchange setup log for more information on this error.
[05/07/2013 01:20:11.0794] [0] [ERROR] Could not find information about the local site. This can be caused by incorrect configuration of subnets or sites or by replication latency.
[05/07/2013 01:20:11.0809] [0] Setup will use the domain controller ''.
[05/07/2013 01:20:11.0809] [0] Setup will use the global catalog ''.
[05/07/2013 01:20:11.0825] [0] Exchange configuration container for the organization is 'CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=domain,DC=local'.
[05/07/2013 01:20:11.0919] [0] Exchange organization container for the organization is 'CN=DOMAIN,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=domain,DC=local'.
[05/07/2013 01:20:11.0966] [0] Setup will search for an Exchange Server object for the local machine with name 'WEX1'.
[05/07/2013 01:20:12.0028] [0] No Exchange Server with identity 'WEX1' was found.
[05/07/2013 01:20:12.0044] [0] The following roles have been unpacked:
[05/07/2013 01:20:12.0044] [0] The following datacenter roles are unpacked:
[05/07/2013 01:20:12.0044] [0] The following roles are installed:
[05/07/2013 01:20:12.0059] [0] The local server does not have any Exchange files installed.
[05/07/2013 01:20:12.0075] [0] Server Name=WEX1
[05/07/2013 01:20:12.0137] [0] Setup will use the path '\\SERVER\f$\junk\installers\server\Exchange\2013cu1' for installing Exchange.
[05/07/2013 01:20:12.0137] [0] The installation mode is set to: 'Install'.
[05/07/2013 01:20:27.0591] [0] An Exchange organization with name 'DOMAIN' was found in this forest.
[05/07/2013 01:20:27.0591] [0] Active Directory Initialization status : 'False'.
[05/07/2013 01:20:27.0591] [0] Schema Update Required Status : 'False'.
[05/07/2013 01:20:27.0591] [0] Organization Configuration Update Required Status : 'False'.
[05/07/2013 01:20:27.0591] [0] Domain Configuration Update Required Status : 'False'.
[05/07/2013 01:20:27.0841] [0] Applying default role selection state
[05/07/2013 01:20:27.0872] [0] Setup is determining what organization-level operations to perform.
[05/07/2013 01:20:27.0872] [0] Because the value was specified, setup is setting the argument OrganizationName to the value DOMAIN.
[05/07/2013 01:20:27.0872] [0] Setup will run from path 'C:\Windows\Temp\ExchangeSetup'.
[05/07/2013 01:20:27.0888] [0] InstallModeDataHandler has 0 DataHandlers
[05/07/2013 01:20:27.0888] [0] RootDataHandler has 1 DataHandlers
[05/07/2013 01:20:27.0903] [0] Setup encountered a problem while validating the state of Active Directory: Could not find information about the local site. This can be caused by incorrect configuration of subnets or sites or by replication latency. See
the Exchange setup log for more information on this error.
[05/07/2013 01:20:27.0935] [0] [ERROR] Setup encountered a problem while validating the state of Active Directory: Could not find information about the local site. This can be caused by incorrect configuration of subnets or sites or by replication latency.
See the Exchange setup log for more information on this error.
[05/07/2013 01:21:04.0154] [0] The registry key, HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ExchangeServer\V15\Setup, wasn't found.
[05/07/2013 01:21:04.0154] [0] End of Setup
[05/07/2013 01:21:04.0154] [0] **********************************************Hi,
The cause is clearly described in the log:
[05/07/2013 01:20:11.0794] [0] [ERROR] Setup encountered a problem while validating the state of Active Directory: Could not find information about the local site. This can be caused by incorrect configuration of subnets or sites or by replication latency.
See the Exchange setup log for more information on this error.
[05/07/2013 01:20:11.0794] [0] [ERROR] Could not find information about the local site. This can be caused by incorrect configuration of subnets or sites or by replication latency.
I'd suggest you check NIC settings and AD configuration.
Hope it is helpful.
Fiona Liao
TechNet Community Support -
Reflecting the value of the logged in user in an af:inputText Column
Hi
I have a Af:table with multiple Rows. In one of my Af:columns I want to reflect the logged in user and store this value when I commit the page.
I am using JAZN security. Please Help.Please follow the guidelines available at the top of this forum when posting. As such give us more details about what version of JDeveloper you're using, and which technologies including the model layer like ADF BC you're using.
If you're using ADF BC, at the EO attribute level there are history properties for defaulting an attribute's value to that of the JAZN user. This is an ideal location to set this if you're using ADF BC. But as you haven't included any information about what model layer technology you're using it is hard to help you further.
CM. -
Problem with Policy "Display information about previous logons during user logon"
Hello,
I've a problem with the Policy "Setting Display information about previous logons during user logon".
It is applied correctly on computer, but I can't login anymore and message "Security policies on this computer are set to display information about the last interactive logon. Windows could not retrieve this information. Please contact your network administrator
for assistance" is appearing.
My home test domain has 2008 R2 functionality level since months, and I've raised my company infra level functionality to 2012 this morning. Both domain are making the same error.
This is non-sense, so any idea how to troubleshoot it ? Thanks in advance ! ;-)
PS : I was able to remove it in order to login again, no worries on this one...Did you follow the guidance in http://technet.microsoft.com/en-us/library/dd446680%28v=ws.10%29.aspx?
Especially the following paragraph - the setting has to be applied to DCs and Members...:
You configure last interactive logon through a GPO. You must configure the following setting for the GPO with domain controllers in its scope of management if you want to report last interactive logon information to the directory service:
Computer Configuration| Policies | Administrative Templates | Windows Components | Windows Logon Options | Display information about previous logons during user logon = Enabled
If you want to display last interactive logon information to the user, you must configure this setting for both the GPO with domain controllers in its scope of management as well as any GPO with Windows Server 2008 and Windows Vista client
computers in its scope of management.
Martin
NO THEY ARE NOT EVIL, if you know what you are doing:
And if IT bothers me - :))
Restore the forum design -
Martin-
I'm struggling with the TechNet article you direct us to. We see in the TechNet article that Last Login Notification works ONLY with Server 2008 R2 and Vista. Do we interpret that correctly?
We need it to work with Server 2003, Server 2008, Win7, Win8, Win8.1, Server 2012, et. al.
What is the work around to enable *Last Login Notifications to Users* functionality for these OSs?
Thanks in advance,
Robin -
Hi! My name is Nazım . I live in North Cyprus. I’ve got Apple Ipad 2 and Iphone 4. My ıpad2 is iPad 2 Wi-Fi + 3G: Serial number: DQTFFVC1DFJ3., IOS 5.0.1 (9A405), model MC775LL .my itunes is last version. I bought my ipad from America.
I’ve recently bought Philips DC390 from Apple Store in Oxford Street. Althouh Philips dock 1 seemed to work properly (charged and player). The second dock isnot compatible with my ipad2. It didn’t work(play),It charges though.
I sended e-mailed to Philips.uk for assistance. They recomend met o reset my ipad2 to see if this clears any issue, but it does indicate a fault with the unit. It didn’t work either.s(everal time Ireset my Ipad2)
In addition to this, I contacted Apple support.UK on 22nd December 2011-12-23. I informed about the problem was likely to be with the apparatur.However I tried my father’s Ipad2 last night.software is the same my Ipad2’s IOS 5.0.1 (9A405), to my surprise it worked properly. I’ve already reset my ipad2 several times but it didn’work.
I would be grateful if you could make me some recommendations to sort out the refered my problem.Hi Nazim
This is a user to user group. There is no-one from Apple here.
Use this link to contact Apple directly. -
HOW TO GET INFORMATION ABOUT THE CLIENT MACHINE AT DATABASE LEVEL
HOW TO GET INFORMATION ABOUT THE CLIENT MACHINE AT DATABASE LEVEL USING 10g Database and 10g Application Server
we have developed an application using oracle forms 10g with
oracle database 10g and Application server 10g
Application uses a single Oracle User name to connect to database
where as at Application level there are different users (these are not database users)
Now how can we get the information about the user/his machine etc. at database level. earlier in 6i/8i we use to get by using
USERENV('TERMINAL')
we had written a triggers on tables on Insert/Update where we used to update a database field Last user terminal with USERENV('TERMINAL')
but not this information is comming to be the machine name of application server where as we wish this to be the machine name of Client. Any Way outs
thanks
Chaand Kackriahi, you can use the sys_context function, like this:
select sys_context('userenv','current_user'),
sys_context('userenv','os_user'),
sys_context('userenv','host'),
sys_context('userenv','ip_address'),
sys_context('userenv','instance'),
sys_context('userenv','sessionid'),
sys_context('userenv','terminal')
from dual;
Is this what you 're looking for? -
In CIF customer exit there is no information about the logical system
Dear All,
we have a SAP R3 system (ver 4.7) connected to 2 SAP APO systems.
we need to differentiate the UE code in R3 by APO TARGET SYSTEM.
In the CIF userexit used:
EXIT_SAPLCLOC_001
EXIT_SAPLCSRS_003
EXIT_SAPLPGS1_001
EXIT_SAPLCSTK_001
EXIT_SAPLMEAP_001
there is no information about the logical system (source, destination
etc.) The control parameters are not provided to the user exit.
I found a note 1060634 where the parameter have been added to
EXIT_SAPLCSLS_002 , but not to all other exits.... do you have any clue on how we can proceed?
Thank you !!
Best Regards , BarbaraFound the answer, to bad i cannot give points to myself :-P
In the ABAP i use the E_T_RANGE output structure.
That structure has several fields (sign, opt, low, high).
In my ABAP i stored the same value in the low and high field.
This should work fine for normal (flat) characteristic values.
However, because i use a hierachy i should enter the 0HIER_NODE value in the high field.
For details see: SAP NOTE: 912473
Regards -
Remote control kicks you out when trying to change the logged in user by clicking on the red N
I'm running Zen 6.5 with the latest updates and the latest agents... I can
successfully remote control a workstation through ConsoleOne but I have 2
issues:
1. If I'm in the middle of a remote session and I right click on the red
N icon and change the user, it kicks me out and says "operation is
currently disabled for the logged in user".
2. Whenever I log in it changes the desktop background to blank (it's
actually a blue background) and it doesn't change it back after I close
the remote session. If I physically go that workstation and logout and
log back in, it still keeps that same blue background.Gilbert,
It appears that in the past few days you have not received a response to your
posting. That concerns us, and has triggered this automated reply.
Has your problem been resolved? If not, you might try one of the following options:
- Do a search of our knowledgebase at http://support.novell.com/search/kb_index.jsp
- Check all of the other support tools and options available at
http://support.novell.com.
- You could also try posting your message again. Make sure it is posted in the
correct newsgroup. (http://support.novell.com/forums)
Be sure to read the forum FAQ about what to expect in the way of responses:
http://support.novell.com/forums/faq_general.html
If this is a reply to a duplicate posting, please ignore and accept our apologies
and rest assured we will issue a stern reprimand to our posting bot.
Good luck!
Your Novell Product Support Forums Team
http://support.novell.com/forums/
Maybe you are looking for
-
Hi all, I tried to update my iPod but it stated "The iPod could not be synced because his computer is no longer authorized for purchcased items that are on this iPod. To authorize this computer for items purchased from the iTunes Store, choose Store
-
I've done a time machine backup on my Time Capsule, which shows up as a sparsebundle in my Data file in the Time Capsule. It shows up when I double click the sparcebundle and Time Machine Backups then shows up under devices. I'm assuming that is th
-
7510 e-ALL-IN-ONE not printing black ink.
I have a Photosmart 7510 e-ALL-IN-ONE printer that has worked beautifully until the last time I replaced the black ink. The printer screen says the ink cartridge is full, yet nothing will print. I checked the vent on the cartridge, it seems to be f
-
WS-Groups-members and WS-Memebership don't match
Hi I need to look very closely at WS-Groups for a piece of work. After scratching my head for a little while I came to realise who assumption was the mother of. My WS-objects may show that they are a member of a group (ok that is fine) BUT another gr
-
Copy pictures from my iMac to my ipad
How do I copy pictures from iphoto to my ipad. I do NOT want to sync, only copy certain pictures from various events to my ipad.