active-directory-group Questions

4

Solved

While fetching users from group, giving exception message as "While trying to resolve a cross-store reference, the SID of the target principal could not be resolved. The error code is 1332." Prin...
Westonwestover asked 10/3, 2016 at 10:36

4

Solved

I'm using java ldap to access active directory, more specifically spring ldap. a group search by objectGUID yields no results when the filter is encoded as specified in rfc2254. this is the guid in...

2

Primarily, I needed to retrieve a list of users who are members of a particular group, in SQL Server. I did managed to find something on the net, which is working perfectly. Solution is as shown: ...

7

Solved

I used the example in this page to add a user to an Active Directory group, but I get an exception with the message "Server is unwilling to process the request" when executing dirEntry.Properties[...
Ethiopian asked 6/12, 2012 at 17:17

3

Solved

I'm trying to get ALL the groups a user is member, even the nested ones (recusively), in Powershell I'm using: (Get-ADUser <username> -Properties MemberOf | Select-Object MemberOf).MemberOf ...
Ankle asked 8/5, 2014 at 20:41

3

Solved

Given a group like this in Active Directory: MainGroup GroupA User1 User2 GroupB User3 User4 I can easily determine if User3 is member of MainGroup or any of its subgroups with code like t...
Roping asked 8/9, 2010 at 7:28

15

I need a way to see if a user is part of an active directory group from my .Net 3.5 asp.net c# application. I am using the standard ldap authentication example off of msdn but I don't really see h...

6

Solved

The following code lists some, but not all, Active Directory Groups. Why? I am trying to list all security groups, distribution groups, computer groups etc. Have I specified the wrong objectClass?...
Swingle asked 12/12, 2011 at 13:1

1

Solved

I am using an Azure Analysis Services instance and need to grant access to all authenticated users in the domain. The problem is that I don't see any groups within our Azure AD tenant that resemble...
Preside asked 16/4, 2018 at 21:36

1

Solved

I would like to programatically allow a given security principal (user or group) in AD to have write permission to the member attribute on an AD group. I'm assuming it would be of the form: $Grou...
Michele asked 24/5, 2018 at 12:43

3

I have an active directory (AD) test instance with nested groups: Employees (Parent) with two subgroups: Executives and Engineers. Tree: Employees | -Executives | | | -Mister Executive | -...

2

Solved

I'm trying to run a windows service and an IIS website under the same active directory Group Managed Service Account SomeServiceAccount. I've got 2 servers App and Web. I've made a group ca...

3

Solved

I'm trying to list everyone in a security group in an active directory without using CmdLets in PowerShell. The weird thing with my script is that it works if I list the entire directory but if I t...
Palila asked 8/11, 2011 at 18:28

1

Solved

I am trying to add member to azure active directory group but it fails it showing me following error. context is already tracking the entity I tried to found lot for it, I also see this links ...
Plaintive asked 23/1, 2016 at 14:13

2

Solved

I have two domains, in a trusted relationship, that I'm trying to manage from a C# web application. To do that, I have to impersonate two different technical users, but that works good, so I will n...
Vivacity asked 13/8, 2015 at 9:15

1

Solved

I try to authenticate users belonging to remote ActiveDirectory from my machine, which is not the same domain as the current machine or user domain. There will be no trust between my machine and re...
Intracranial asked 23/2, 2015 at 6:13

3

Solved

I'm using ASP.net with C# and have a very little idea about Active Directory. I've been given a task to write a program in steps below: The ASP.net application is given the username of a user. T...
Odontalgia asked 1/11, 2011 at 4:31

1

Code below works perfectly* if I limit the cursor to a few groups but if I let it run against our whole domain I encounter 1000 records limit in AD. Any ideas on how to get this paging? *perfectly...

4

Solved

I am writing the following methods to add and remove users from active directory in C#. void AddUserToGroup(string userId, string groupName); void RemoveUserFromGroup(string userId, string groupNa...
Hokkaido asked 26/1, 2010 at 22:12

1

Solved

We have a WPF application. We would like to resrict access to the application based on the users AD group membership. Could we do this as an attribute on each view, or as a check when the user sta...
Tweed asked 23/1, 2012 at 11:49

1

We have a security module which, based on group/role membership, controls permissions to resources in ASP.Net. I've built a custom ASP.Net Role Provider that queries Active Directory for group memb...

2

Solved

In my Sharepoint code I display a list of all defined users via: foreach (SPUser user in SPContext.Current.Web.AllUsers) { ... } The great part is, I can add a domain security group to a Sharep...
Flyover asked 30/11, 2010 at 14:29

1

Solved

Tasked with creating a login page that would allow members of two specific groups access to some controllers and actions in an MVC project, I set about to create a role provider for AD. I managed t...

2

Solved

I am having issues getting the groups from Active Directory via System.DirectoryServices Originally I started my application on a computer that was registered on the domain, but as it was a live d...
Encrata asked 30/11, 2010 at 15:45

3

I created a WCF web service to return user and group information from Active Directory. It works for most groups and users. I use directoryEntry.Invoke("groups",null) to return the groups a specif...
Bello asked 12/8, 2009 at 3:9

© 2022 - 2024 — McMap. All rights reserved.