I'm in the process of implementing a workflow in Sitecore, and for that I have setup several different users with roles, where the security for the roles dictates the workflow process (nothing unusual).
One of these roles is a "CMS Publisher", and its job is to be last in the review process and to publish the item once it is accepted. ...
I use the following code to create user in Active Directory
DirectoryEntry newUser = null;
try
{
if (!Authenticate()) return null;
newUser = location.Children.Add("CN=" + userName, "user");
newUser.Properties["samAccountName"].Value = userName;
...
Taking user input such as "tomorrow", "in three days", "3 months 30 days", "march 30, 2011" and interpreting it into a timestamp usable by php.
I feel like I've seen something like this before in a task management system. I'd like to use it for something a little different but I can't find anything precooked anywhere. Maybe I saw it on ...
Hi,
I'm not web developer and I'm struggling with ways how to input user preferences for given set.
I have discrete set of (up to 20) elements, ie I have list of 5 items: cat, dog, fish, chameleon, snake
and what I want is to draw simple graph with n sliders each from 0..100%.
For example if user preferences (as home pet) cat: 95%, dog...
I am currently working on a project which has Employee, Manager entities. At the very beginning, I took for granted that a manager must be an employee in the company, so they are the same person who have the same EmployeeID in payroll system. Based on this assumption, I let the Manager class extends Employee class.
Later, my client tol...
Im using theme_user_profile_form($form) and putting in the line
unset ($form['timezone']);
But it doesnt remove that item from the page
I try:
theme_preprocess_user_profile_form
but it doesnt appear to work.
All I want to do is remove some portions of the user profile edit form, such as theme select, timezone etc
...
Using a process identifier, I can get the user identifier. Indeed, if the process is executed in the user environment, I can get the user session id...
But how can I derive a Windows session ID by only user name? (Of course, if the user is not logged, no session id can be derived).
My situation is the following:
I have a service (sy...
Is it possible to retrieve the current user login used on sharepoint from an embedded Silverlight 4 application?
...
I was hoping if there was an easy way to create Hudson users, so they are required to log in.
And if they are not logged in they are only able to view build statuses. Nothing else.
Please and thank you
...
Hello I have just installed CVS server and have started importing files onto the server. How would I change the owner directly while file transfer or make the user the default owner of all the files being imported.
Is that possible?
...
I would like to build a program which takes a username as parameter and creates the user and its home folder (with some hard-coded specifications like folder, and security checks like username cannot be root or an existing user).
My application needs to create users in order to give SSH access.
The program will be executed using sudo. ...
Hi friends,
Is ther any user control for displaying data(like gridview in asp.net).
Actually i found many control which works but, i cann't reuse it. Because in each and every page i need to put the same logic. Is there any control which I can re-use for all pages?
How I create user control in MVC for GridView.??
...
i have this code:
class Check(webapp.RequestHandler):
def get(self):
user = users.get_current_user()
be = "SELECT * FROM Benutzer ORDER BY date "
c = db.GqlQuery(be)
for x in c:
if x.benutzer == user:
s=1
break
else:
s=2
if s is 0:
self.redirect('/')
to check whether th...
hi i'm using drupal 6. In my user page i want to show latest activities related to user interest. interest means terms that user participated (forum topics, articles, polls..). Can any one know the best way to do it.
For ex : stackoverflow shows questions related user participated tags.
...
Hi,
I'm currently developing a web application for a particular niche. The point is that users can create an account, manage specific data and use that data on their website through API calls. So it's actually some sort of WordPress CMS but without the front end functionality. It is also not open source.
So in short, user can manage th...
I have seen this question posed regarding silverlight 2 but I have not seen any questions about silverlight 4.
Is there a way to get the current user running an application in silverlight 4.0? I thought I remember seeing that as one of the features of 4.0 but I cannot find it. (Maybe it was just wishful thinking on my part.) I woul...
I'm in the process of a building an access control system as part of a web framework I am developing. I want to make it super flexible and awesome. Can you help me by providing input and insight on my design? Here is my work so far (my specific questions are at the bottom):
Users
Users have a username (32 characters, no spaces) and pa...
Hi. I'm trying to get Code Closure to work, but unfortunately, there's always an error thrown.
Here's the code:
use LWP::UserAgent;
use HTTP::Request::Common;
use HTTP::Response;
my $name = 'test.js';
my $agent = new LWP::UserAgent();
$agent->agent("curl/7.21.0 (x86_64-pc-linux-gnu) libcurl/7.21.0 OpenSSL/0.9.8o zlib/1.2.3.4 libidn/1....
Hi folks,
How do I obtain the user's edit input on a custom model JTable created from a binary file in order to save it to the binary file?
I suspect that my table model's getValueAt(int, int) method is the problem because it returns data from the binary file before the edit, not the data in the particular cell.
To give you an idea o...
Hi,
I have a User1 belonging to primarygroup Group1 in linux. I want to execute the command
in the context of User1 and Group2 (not Group1) in one line. Any way to do that ?
One way to do that in multiple steps is to
1) First get into User1 context by running "su user1"
2) Then from User1 context execute command by running "sg group...