Hello,
I have make a Active Directory Membership to change the user password in the
active directory with ASP.NET2 after a logo page, and it works fine. BUT i
add this code when the password is changed to Add this user in a group, but
i get an 0x80070005 (E_ACCESSDENIED)... : why ? the user is well
authentified with my logon.aspx page .. no ?
Dim objgroup, objuser
objgroup =
GetObject(LDAP://CN=mygroup,OU=Groupe,OU=myusers,dc=domain,dc=com)
objuser = GetObject(LDAP://cn=user,ou=users,dc=domain,dc=com)
objgroup.Add(objuser.adspath)
Thanks a lot .. 1 2105
Ok !
I found that i have to use directoryentry with login and password ...
Thanks !
"moi" <mo*@moi.fr> a écrit dans le message de news:
%2****************@TK2MSFTNGP05.phx.gbl... Hello, I have make a Active Directory Membership to change the user password in the active directory with ASP.NET2 after a logo page, and it works fine. BUT i add this code when the password is changed to Add this user in a group, but i get an 0x80070005 (E_ACCESSDENIED)... : why ? the user is well authentified with my logon.aspx page .. no ?
Dim objgroup, objuser
objgroup = GetObject(LDAP://CN=mygroup,OU=Groupe,OU=myusers,dc=domain,dc=com)
objuser = GetObject(LDAP://cn=user,ou=users,dc=domain,dc=com)
objgroup.Add(objuser.adspath)
Thanks a lot .. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Google Mike |
last post by:
You know, while working on my moonlight corporation's LAMP project at
home this weekend, I couldn't help but wonder if people writing similar
projects are solving similar problems with having to...
|
by: info |
last post by:
This is to announce the inaugural meeting of the Philadelphia XML Users
Group.
If you're in the Philadelphia area, and you have an interest in XML and
related standards in publishing, you're...
|
by: Philadelphia XML User Group |
last post by:
Philadelphia XML Users' Group
NEXT MEETING: June 13th, 6:00 to 8:00 pm
The Users' Group is an open organization that invites participation
from anyone in the Delaware Valley and Greater...
|
by: Brian Loesgen |
last post by:
The next San Diego .Net User Group meeting is Tuesday, November 25,
2003 at the Scripps Ranch Library.
Scripps Ranch Library
10301 Scripps Lake Drive
San Diego, CA 92131-1026
Please join us...
|
by: Lester Knutsen |
last post by:
Washington Area IBM Informix/DB2 User Group meeting - June 7, 2005
--------------------------------------------------------------
Mark the date, our next user group meeting will be another...
| |
by: cameron |
last post by:
I need to find a user's memberOf list, (and all nested groups), very
quickly. My current method is to iterate through the the results of the
the MemberOf property and then do the same to each of...
|
by: TC |
last post by:
In the past I always regarded user/group security as fairly tight. It
is tricky to implement, but once implemented properly, it can't be
cracked except through a dedicated effort.
Recently,...
|
by: jatinder.saundh |
last post by:
Hi,
How do I give create database privielege to a specific user/group at a
particular db2 instance ?
I read about various authorities like SYSCTRL etc. but I am interested
in giving only Create...
|
by: bradallen |
last post by:
I've been visiting Portland, OR on a multi-week client project, and am
wondering if there are any local Python or Zope programmers in the
Portland area.
I am only going to be here for a couple...
|
by: henryrhenryr |
last post by:
Hi
I am trying to debug an upload script and I need to know what the user/group is of the php-script that's running.
My problem is that the webserver settings have '48' as the user/group -...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
| |
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
| |
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The...
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...
| |