I want to be able to get and set the default printer for users within Windows Terminal Services, but I don't see any relevant functions. (The closest I've seen is RDS User Config, but it doesn't appear to do what I need.) It can be done by name or by ID (however necessary). For example, something like this pseudocode:
For each user, u:
p = u.GetDefaultPrinter()
if p.name=='Inkjet' then:
p2 = GetPrinterByName('Laser')
u.SetDefaultPrinter( p2 )
Can I upload a video to Youtube using the API + OpenId + OAuth in behalf of a user which does not have a youtube account but does have gmail or other OpenID account ?
Or that the user has a youtube account is a must ?
hi all,
I have a functionality where a user is given file to download.
It works fine. BUT -
1. How to know whether user has downloaded a file or cancelled it?
2. After downloading I wat to redirect current page to another one that is also not happening.
Please let me know if any one of you have any idea about it.
(I am doing it in Joomla)
Regards,
Shahu
So I have a form that user's use for data entry, and on one form there is a text box there that is basically used. To enter notes. However, if the user hits i need the cursor to stay in that text box, and start a new line (uh....like word would)....but currently it is jumping to the next control (text box).
So is there a simple property setting that would do the trick? Or a VBA method to accomplish?
Thanks
Justin
I've already requested extended permissions from a user. Now it's possible that after some time user has changed these permissions under Application Settings, and I need to get current permissions, e.g. *email,read_stream,publish_stream,offline_access,status_update,share_item*.
BTW I'm using PHP Facebook SDK http://github.com/facebook/php-sdk/
Hi ,
I need a batch file which deletes all the folders that were created between a specific date.The dates should be user input. That is created date from and till provided by user input.
Thanks
Nis
This question is for Windows Phone 7.
I'd like to send the user to a specific external URI when the entire ListBox item is clicked (not HyperLinkButton). I already have a MouseLeftButtonUp event handler for the item. At this point, I can't find a way to navigate the user to the URI.
Hi friends,
I have a div tag and I am populating the search results on a custom grid, which is placed inside this divtag.
When a user click on the search button, i am displaying the results in the above mentioned div tag.
I have a requirement to close the above div tag when the user clicks outside the div tag.
It is similar to google search auto comlete.
Thanks in advance.
Why is it necessary to remove and then re-add a user to a SQL Server database after restoring it from a file?
If I don't do this, I get a "User login failed" when trying to access the database using this username from apps.
Hi,
I have followed http://stackoverflow.com/questions/3035932/liferay-custom-authentication-web-service link to customize authentication.
But Liferay is still checking whether the same user email id is configured in the liferay db or not. If its not, it is saying that authetication failed.
I do not want to keep any user information in the liferay db. Do any one know how to do that?
Regards
Vishal G
I have an Oracle package which contains user-defined functions and procedures, including two user-defined functions which are called from SELECT and UPDATE statements.
The functions in question are defined before the procedures that call them.
This piece of code compiles and works fine on Oracle 10g but won't compile on 9i. The code should work as-is according to Oracle's own documentation.
Any idea why it would throw this error on 9i?
Does anyone know where Drupal stores, in the Database, the role of a user? It's not in the users table, and I can't seem to find it. I can find where it defines the role, defines the role's permissions, but I can't find where it defines what Role a certain User is. Anyone know? Thanks!
So, if you sign in using facebook on my website, how much access do I have to your friends? I am asking this question because I want for example to know if a user asks me a question about his/her friend, I can go through their Facebook status messages for example and tell them the answer depending on parsing information but do I have access to the user's friends information or no? (And how can I do that if it is possible in another way)
have a general idea on how to use hook alter to modify the feel of the registration form .
However the challenge I have is to not only have the user register, but to save some extra data into another table and then redirect user to a new page.
How would I get about doing that? Please help
I have a system set up to lock certain content in a database table so only one user can edit that content at a time. Easy enough and that part is working fine. But now I'm at a road block of how to send a request to "unlock" the content. I have the stored procedure to unlock the content, but how/where would I call it when the user just closes their browser?
I'm trying to make a vote/poll application in Flash using Actionscript 3. Is there any way to generate a specific ID that is unique to each user? The only other option I can think of is using the IP address, which is less than ideal in many cases (college campuses, shared Internet access, etc.). It needs to be the same number every time it is run on the same PC, but different for each user.
I need to give the user ability to add my application only to certain amount of fanpages that he owns(is a admin of), how can I determine how many pages of particular user use my app?
how to take user input in Array using Java?
i.e we are not initializing it by ourself in our program but the user is going to give its value..
please guide!!
I am using the MapKit for the iPhone and have it setup to get the user's location and display it on the view. But I need to know which state they're in so I know what data to load and display to the user. Is there any way to get that sort of info?
On IBM DB2 v.9 windows, when someone connect to database by Server\Administrator user
DB2 database will automatic accept and grant all permission to this user right?
But, some environment Administrator of server no need to see every data in database. So
how to prevent Administrator use connect to database?
hi folks,
I'm using the asp built in membership controls, etc. There is a new user control that I wanting to use but this doesn't seem to give the option to set the roles for the user. Anyone know of how I can achieve this?
-- Billy
When user scrolls to the bottom of the page I want to show some div, with jQuery of course. And if user scrolls back to he top, div fade out.
So how to calculate viewport (or whatever is the right name) :)
Thanks
This is a simple database security & performance question, but I've always used either a special user (eg. mydbuser), or Windows' built-in NETWORK SECURITY account as the owner when attaching databases to my SQL Server instances.
When deploying my database to a production server, is there a specific user I should stick to or avoid? I would think that using an account with a set password could open the database up to a potential security issue.
If user is not logged to facebook then clicking on Like Button opens a popup window prompting for user to login. I don't want that popup to display - hence the best would be to not show Like button for visitors that are not logged to Facebook.
Is it possible?