Re: ADFS app dev and org claim group mappings not working

Tech-Archive recommends: Fix windows errors by optimizing your registry



Sorry but I do not see a reply under the adsi discussions.
http://www.microsoft.com/communities/newsgroups/list/en-us/default.aspx?dg=microsoft.public.adsi.general&mid=417435ae-424c-4db3-84bf-7c4d94ea30b1


"Joe Kaplan" wrote:

I saw the question in the ADSI group first and responded there. :)

--
Joe Kaplan-MS MVP Directory Services Programming
Co-author of "The .NET Developer's Guide to Directory Services Programming"
http://www.directoryprogramming.net
"Jeremy" <Jeremy@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:C716118B-4066-4A89-93F7-AB53F78284C6@xxxxxxxxxxxxxxxx
I want the applications to know about resources groups instead of claims.
I am unable to see the mapped group in the current users list of groups.

I have follewed the steps in these links and used the standard step by
step
set practice.
http://blogs.technet.com/adfs/archive/2007/02/22/understanding-organizational-group-claims.aspx

Here is the code I am using to see the groups for the current user.

WindowsIdentity currentUser = WindowsIdentity.GetCurrent();

foreach (IdentityReference refGroup in currentUser.Groups)
{
NTAccount acc =
(NTAccount)refGroup.Translate(typeof(NTAccount));
Response.Write(acc.Value);

}

Please help

I posted this in ADSI forum too because I just noticed a lot of ADFS
questions are here.


.



Relevant Pages

  • Re: Adding to Schema
    ... "Joe Kaplan" wrote: ... ADAM that would basically be pointers to AD users. ... Co-author of "The .NET Developer's Guide to Directory Services Programming" ...
    (microsoft.public.windows.server.active_directory)
  • Re: Incorrect LogonUserIdentity.Name
    ... "Joe Kaplan" wrote: ... Co-author of "The .NET Developer's Guide to Directory Services Programming" ... I'm uncertain why the server variables would be up to date but ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Can I retrieve Unix box OS info using DirectoryEntry Property
    ... "Joe Kaplan" wrote: ... Co-author of "The .NET Developer's Guide to Directory Services Programming" ...
    (microsoft.public.dotnet.security)
  • Re: ActiveDirectoryMembershipProvider & ChangePassword control
    ... a LDAP call is made to create the account in AD. ... If the ActiveDirectoryMembershipProvider does not support this attribute is ... "Joe Kaplan" wrote: ... Co-author of "The .NET Developer's Guide to Directory Services Programming" ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: how to add "Authorization: Basic" for a web service call
    ... How can I add a second proxy for the remoteAuthentication? ... Joe Kaplan ha scritto: ... Co-author of "The .NET Developer's Guide to Directory Services Programming" ... NetworkCredential remoteCredentials = new NetworkCredential("a", ...
    (microsoft.public.dotnet.security)