﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>New Boundary Support Forum / Prism Suite 7 / General Discussion  / Accessing current user profile but running script with different credentials / Latest Posts</title><generator>InstantForum.NET v4.1.3</generator><description>New Boundary Support Forum</description><link>http://www.nbtnet.newboundary.com/forum/</link><webMaster>support@newboundary.com</webMaster><lastBuildDate>Fri, 21 Nov 2008 15:54:32 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Accessing current user profile but running script with different credentials</title><link>http://www.nbtnet.newboundary.com/forum/Topic1590-22-1.aspx</link><description>Could you give us an example of what your script is doing? Maybe we can come up with some suggestions. It seems unusual that the user can't query its own information without having elevated rights.</description><pubDate>Mon, 24 Sep 2007 16:23:47 GMT</pubDate><dc:creator>New Boundary Support</dc:creator></item><item><title>Accessing current user profile but running script with different credentials</title><link>http://www.nbtnet.newboundary.com/forum/Topic1590-22-1.aspx</link><description>I am attempting to run a batch file using environment variables to access the current user's info.  However, because the script runs with an admin account from Prism (not as the currently logged on user), I do not get the current user's info.  The script needs to do run as an admin to perform certain duties, but must be able to read the currently logged on user's profile.  Is this possible with Prism?  I cannot hard code any paths.&lt;br&gt;&lt;br&gt;Thanks for your help.&lt;br&gt;&lt;br&gt;thecomputerguy74</description><pubDate>Mon, 24 Sep 2007 10:36:43 GMT</pubDate><dc:creator>thecomputerguy74</dc:creator></item></channel></rss>