user-management

Get URL of Referer page in ASP.NET

烂漫一生 提交于 2019-12-01 09:04:47
I am working on an ASP.NET project and currently struck in something. Basically, I have three different levels of users 1. Admin 2. DMV 3. Caller All the users have their respective directories, and can access the resources in those according to their rights. When someone wants to sign-in to the application, he has to use the same login.aspx page that is present in the root directory, and once logged-in, he is redirected to the home page of his respective folder, based on his privilege. In my application, sometimes when a session closes unwillingly, the user is redirected to the login page, or

Print All Users - Joomla 2.5

巧了我就是萌 提交于 2019-12-01 08:15:45
I am new to Joomla. I have created website using Joomla 2.5. I have login page which is default Joomla user management system. What I want is display all user data in a tabular format. How could I do the same? Edit 1 I can see the users with below steps. Go to administrator page as www.site.com/administrator . Login as admin Click Users >> User Manager menu and then I can see the list of users. I want to print same list, however on the website and not on administrator site at backend. Rakesh Sharma you can do this run the query on your page where you want to show user list. you can fetch all

Change Password of a local windows user

 ̄綄美尐妖づ 提交于 2019-12-01 07:32:32
Usually it is possible to change it´s own password in Windows, without having admin-rights . I'm writing a tool to manage users and Groups on several servers/clients. I also want to give a client the right to edit his own password. The clients don't have admin-rights of course. To change a users password having admin rights I used DirectoryEntry like this: try { DirectoryEntry localDirectory = new DirectoryEntry("WinNT://" + Environment.MachineName.ToString()); DirectoryEntries users = localDirectory.Children; DirectoryEntry user = users.Find(username); user.Invoke("SetPassword", newPassword);

Get URL of Referer page in ASP.NET

主宰稳场 提交于 2019-12-01 06:14:05
问题 I am working on an ASP.NET project and currently struck in something. Basically, I have three different levels of users 1. Admin 2. DMV 3. Caller All the users have their respective directories, and can access the resources in those according to their rights. When someone wants to sign-in to the application, he has to use the same login.aspx page that is present in the root directory, and once logged-in, he is redirected to the home page of his respective folder, based on his privilege. In my

Change Password of a local windows user

百般思念 提交于 2019-12-01 04:29:05
问题 Usually it is possible to change it´s own password in Windows, without having admin-rights . I'm writing a tool to manage users and Groups on several servers/clients. I also want to give a client the right to edit his own password. The clients don't have admin-rights of course. To change a users password having admin rights I used DirectoryEntry like this: try { DirectoryEntry localDirectory = new DirectoryEntry("WinNT://" + Environment.MachineName.ToString()); DirectoryEntries users =

Identity management/SSO solution? [closed]

断了今生、忘了曾经 提交于 2019-11-30 15:29:33
What are your recommendations for a basic, centralized identity management/SSO service? It must be open source, have a pluggable identity manager (eg: LDAP, DB, openID, etc.) and provide a decent range of API access options (eg: web services, REST, etc.). It must also be clusterable for high availability. JOSSO? CAS? others? There are a number of open source SSO solutions, OpenAM/OpenSSO , CAS Server and Shibboleth . Dont forguet simpleSAMLphp if you looking for SAML support or HybridAuth if you just looking for a SSO library. webcoder WSO2 as described here . It's absolutely free, Java based

Enumerate Windows user group members on remote system using c#

人走茶凉 提交于 2019-11-30 05:21:48
问题 Within c#, I need to be able to Connect to a remote system, specifying username/password as appropriate List the members of a localgroup on that system Fetch the results back to the executing computer So for example I would connect to \SOMESYSTEM with appropriate creds, and fetch back a list of local administrators including SOMESYSTEM\Administrator, SOMESYSTEM\Bob, DOMAIN\AlanH, "DOMAIN\Domain Administrators". I've tried this with system.directoryservices.accountmanagement but am running

How can I handle/restrict user-access to servlets & jsp's?

◇◆丶佛笑我妖孽 提交于 2019-11-30 05:21:31
I'm currently writing a little dynamic web-application in Java. The application is supposed to be an event-platform where you can create a user-account, log in, and then you can see all open events (in a later iteration, users can create/participate in those events). Right now, the structure of the web-app could be (simplified) described like this: Register-Servlet -> Register.jsp | V Login-Servlet -> Login.jsp | V Main-page-Servlet -> Main.jsp So right now, a user could go to Login.jsp, his login-information would be sent to the Login-Servlet, which would validate it and then send it to the

Add Users to Jenkins with “Allow users to sign up” Disabled

社会主义新天地 提交于 2019-11-30 02:36:48
I do not want new users to be able to sign up. So in Jenkin's Configuration, I disabled "Allow users to sign up" with using Jenkin's own user database. But how can I manually add users now? Also, is there a default admin user I should take care of? There is "Create Users" in "Manage Jenkins". In case "Allow users to sign up" was already disabled and security turned on and there is no user you can use to login the only way to go is to change Jenkins configuration manually on the server and restart server. Thing to change is in Jenkins Home folder i config.xml file. change <useSecurity>true<

How do I add a user in Ubuntu? [closed]

有些话、适合烂在心里 提交于 2019-11-29 19:11:12
Specifically, what commands do I run from the terminal? quackingduck Without a home directory sudo useradd myuser With home directory sudo useradd -m myuser Then set the password sudo passwd myuser Then set the shell sudo usermod -s /bin/bash myuser Liberty Here's the command I almost always use (adding user kevin): useradd -d /home/kevin -s /bin/bash -m kevin There's basicly 2 commands to do this... useradd adduser (which is a frendlier front end to useradd) You have to run them has root. Just read their manuals to find out how to use them. 来源: https://stackoverflow.com/questions/38288/how-do