¡@

Home 

c# Programming Glossary: groupname

Regex: get the name of captured groups in C#

http://stackoverflow.com/questions/1381097/regex-get-the-name-of-captured-groups-in-c-sharp

groups regex.Match line .Groups foreach string groupName in regex.GetGroupNames Console.WriteLine Group 0 Value 1 groupName..

Adding and removing users from Active Directory groups in .NET

http://stackoverflow.com/questions/2143052/adding-and-removing-users-from-active-directory-groups-in-net

directory in C#. void AddUserToGroup string userId string groupName void RemoveUserFromGroup string userId string groupName How.. groupName void RemoveUserFromGroup string userId string groupName How best to implement these methods Here is some code from CodeProject... easier. public void AddUserToGroup string userId string groupName try using PrincipalContext pc new PrincipalContext ContextType.Domain..

Expand C# propertygrid on show

http://stackoverflow.com/questions/4086105/expand-c-sharp-propertygrid-on-show

static void ExpandGroup PropertyGrid propertyGrid string groupName GridItem root propertyGrid.SelectedGridItem Get the parent while..

Get a list of members of a WinNT group

http://stackoverflow.com/questions/252882/get-a-list-of-members-of-a-winnt-group

added VB.Net version Public Function MembersOfGroup ByVal GroupName As String As List Of DirectoryEntry Dim members As New List.. Try Using search As New DirectoryEntry WinNT . GroupName group For Each member As Object In DirectCast search.Invoke..

Non Unicode in Content-Disposition header

http://stackoverflow.com/questions/2543584/non-unicode-in-content-disposition-header

Mutually exclusive checkable menu items?

http://stackoverflow.com/questions/3652688/mutually-exclusive-checkable-menu-items

MenuItem class that allows you to use something like the GroupName property of the RadioButton class. I slightly modified this.. public static Dictionary MenuItem String ElementToGroupNames new Dictionary MenuItem String public static readonly DependencyProperty.. MenuItem String public static readonly DependencyProperty GroupNameProperty DependencyProperty.RegisterAttached GroupName typeof..

Asp Composite control child control (radiobutton) losing checked value

http://stackoverflow.com/questions/3854193/asp-composite-control-child-control-radiobutton-losing-checked-value

and so made sure they were all named by a property string GroupName and inspected the postCollection for that GroupName public bool.. string GroupName and inspected the postCollection for that GroupName public bool LoadPostData string postDataKey System.Collections.Specialized.NameValueCollection.. See note below _isChecked postCollection this.GroupName this.Text return oldValue _isChecked You'll notice that I'm..

jQuery modal form dialog postback problems

http://stackoverflow.com/questions/568784/jquery-modal-form-dialog-postback-problems

out of the office label p asp RadioButton TextAlign Left GroupName outOfOffice Text Yes ID optYes class radio runat server asp.. class radio runat server asp RadioButton TextAlign Left GroupName outOfOffice Text No ID optNo class radio runat server Checked..