How to enable user account in Active Directory from PERL if that account is disabled
I am using NET::LDAP . How its not working UserAccountControl Attribute
I have controller with action new, and I want it to create ActiveRecord::Base descendant object, and write it into database (without showing it to user).
def new
active_order = current_user.orders.find {|o| o.status > 0 }
active_order = Order.new if active_order.nil?
(...)
end
Order.new creates local object, but my question is -- how to make Rails to fill it with default values and write to database?
Hai
am having a WPF user control, when i use that control in another window it loading twice, so its throwing exception for me, coz am having some function in usercontrol_loaded event, when it loading twice it throwing error, is there any other way to check if the usercontrol is loaded like that, else how to solve this issue.
Is there anyway to detect when a user logins if there is already another session with the same username, and block him from logging in again or send him a message?
I've noticed some games in the app store that allow the user to choose background music from their music library (iTunes). As a developer how can I add this functionality to my game?
I'd like to pull all of a user's tweets. I could do this the hard way (manually scraping twitter) or the easy way: using their api. The problem with the easy (api) way is that I seem to be limited to the 200 most recent tweets. What's a simple way to get all tweets?
Thanks
Are there any working packages to change a linux user passwords using PHP?
I've tried using PECL:PAM but theres an error when it tries to change the password.
Hi
in my code I need to detect if current user has rights to install other application (other application VC2005 redist. package)... and it should work on Vista.
As I understand CheckTokenMembership or IsAdministrator do not give a complete solution.
Thank you
Hi, i have seen in flash game that it retrive user's friend in same application.How is possible.I searched the code but i have not found yet.Please help me .
Thank you
i have a login form for my wp site, but when they type in the wrong user/pass it directs them to the WP login screen. any way i can change this without hacking WPMU core?
Is there a way to determine if the current user is a fan (now: likes the page) using facebook connect?
I know this is possible in the REST api, but I would like to be able to just use connect instead.
Hi folks,
I need to setup temporary User models for each visitors, where the visitors are obviously tied by session data.
I might not be aware of it, but does Django support attaching data to Anonymous users?
The only way, I am currently aware of, is to use the session dictionary part of the request object.
Help would be very much appreciated!
hi
my users upload photo and all uploads recorded in mysql with the date info. i want to limit uploads by the months. user may just upload 3 pics in a month. what is the best way to do this ?
cheers
I have a Workflow 4.0 app that generates emails. In a dialog for creating the email body the user needs to be able to input some string value representing an existing wf instance variable to be inserted as a string at runtime.
So they input something like: Email body text including <.
(say ExistingVariable is an int or something like that)
Any helpful hints for how to convert this text with a ToString() at runtime?
I'm working on a usability testing service and trying to figure out how to track user activity (e.g. url, clicks etc.) on a page of another domain (without modifying the page via JS or similar).
Any ideas?
I'm working on a web based form builder that uses a mix of Jquery and PHP server side interaction. While the user is building the form I'm trying to determine the best method to store each of one of the form items before all the data is sent to the server. I've looked at the following methods
Javascript arrays
XML document
Send each form item to the server side to be stored in a session
Currently i am working on project in which login user control is there in master page. earlier i had seperate login.aspx page and was able to call login method of home controller (with acceptverb = post). now we have changed the idea, want to place login control on master page (home page).
Now when i click on login button of login control - it calls login method of controller class with acceptver = get. how can i call login method with acceptverb = post?
Hi,
I am searching for the best way for track user on a web site based on asp.net.
We are using log4net to log some business actions (enter on this page, click on button, etc.). But for multiple users, log file cannot be read easily.
So I need add a property 'UserName' on the config file like this :
<conversionPattern value="%date [%thread] - %property{UserName} - %-5level - %logger - %message%newline"/>
Do you hae any idea about the way to set 'UserName' ?
thanks for your help
Using WiX, we would like to be able to uninstall a previous version if it is already installed. I am able to do this automatically based on the thread here.
But how does one go about prompting the user if they actually want to uninstall the old version first, before running the RemoveExistingProducts action? ie. through a custom menu item that only launches if FindRelatedProducts returns 1, for example?
Hi
I am new in iphone. I am add an my application MPMediaplayer for play video but when user move iphone from landscape to portrait play video can not play.
How to do this plz help me.
This is crazy, but I'm stumped! Once my user has logged into twitter via OAuth how do I determine their username using grackle?
@twitter = Grackle::Client.new(:auth => {
:type => :oauth,
:consumer_key => consumer_key,
:consumer_secret => consumer_secret,
:token => @access_token.token,
:token_secret => @access_token.secret
})
username = @twitte.something_here?
thanks for yout time helping on this ;)
I'm new to SQL and wish to solve somethign in just one query and i dont know how to do it.-
Basically I've a table of products, a table of users and a table of comments, linked by products.id - comments.pid and user.id - comments.uid ,
i wish to know what is the best practice to create just 1 query and get all products with child comments, including username.
Our website has been working and still works if we are connected to the LAN but now if someone is elsewhere and tries to connect, they are presented with the screen called "User Authentification" asking for a username and password. What would have changed? The website is http://pc.bartselectric.com Any help is greatly appreciated. Thank you in advance.