I'm trying to send email to Active Directory distribution groups.
I know you can send mail using something like:
mail.From = new MailAddress("[email protected]");
mail.To.Add("[email protected]");
//set the content
mail.Subject = "This is an email";
mail.Body = "this is a sample body with html in it.";
mail.IsBodyHtml = tr...
Given a username, how would I go about writing an LDAP query that will return all groups that the user is a member of?
...
I want to add some rules to SSP Audiences and I can't access to Active Directory Groups in this rules.
When you want to add a rule you have 2 option: 1-User, 2-Property. I am using User option so I have to choose "Reports Under" or "Member of".
When I choose Reports Under I can't find any AD Group in search popup.
I tried Full Import ...
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 groupName);
How best to implement these methods?
Here is some code from CodeProject. I can't see where the AD server is specified in these example...
Hi,
I am trying to install ad fs 2.0 on windows server 2008 sp2 but not able to proceed due to the error "ad fs2.0 installation requires windows server 2008 sp2". Does anybody come across the situation? I have windows server 2008 sp, hotfixes, .net 3.5 sp2, iis 7.0 installed on the server, i followed the procedure iilustrated in microso...
Hi,
Say that i have an active directory group called "Group1". I add this Group1 to a SharePoint site ( People and Group >> New User).
All the users that are part of Group1 can now access sharepoint site.
Now,for a specific custom webpart, i need to target to only users who belong to Group1. But when a user who belongs to Group1 logs ...