Click or drag to resize

UserProfiles Class

Simple string collection of user profile names.
Inheritance Hierarchy

Namespace:  NetQuarry.Security
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
[SerializableAttribute]
public class UserProfiles : StringCollection, 
	ICloneable

The UserProfiles type exposes the following members.

Constructors
  NameDescription
Public methodUserProfiles
Default constructor.
Top
Properties
  NameDescription
Public propertyCount
Gets the number of strings contained in the StringCollection.
(Inherited from StringCollection.)
Public propertyHash
Computes and returns a MD5 hash of the profiles concatenated into a string.
Public propertyIsReadOnly
Gets a value indicating whether the StringCollection is read-only.
(Inherited from StringCollection.)
Public propertyIsSynchronized
Gets a value indicating whether access to the StringCollection is synchronized (thread safe).
(Inherited from StringCollection.)
Public propertyItem
Gets or sets the element at the specified index.
(Inherited from StringCollection.)
Public propertySyncRoot
Gets an object that can be used to synchronize access to the StringCollection.
(Inherited from StringCollection.)
Top
Methods
  NameDescription
Public methodAdd
Adds a profile to the collection, if not already present.
Public methodAddRange
Copies any new profiles to the end of the collection. Any profiles already in the collection are skipped.
Public methodClear
Clear the user's profiles collection.
Public methodClone
Returns a copy of this collection.
Public methodContains
Determines whether the specified string is in the StringCollection.
(Inherited from StringCollection.)
Public methodCopyTo
Copies the entire StringCollection values to a one-dimensional array of strings, starting at the specified index of the target array.
(Inherited from StringCollection.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodFilterClause
Returns a string formatted for use in a filter
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetEnumerator
Returns a StringEnumerator that iterates through the StringCollection.
(Inherited from StringCollection.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIndexOf
Searches for the specified string and returns the zero-based index of the first occurrence within the StringCollection.
(Inherited from StringCollection.)
Public methodInsert
Adds a profile to the collection at the specified index, if not already present.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRemove
Removes the profile from the collection, if present.
Public methodRemoveAt
Remove the profile at the specified index.
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodEqualValue
Determines if the object value is equal to another object. If the two objects are null, then this returns true. There is special handling for guid comparisons (since a guid could be a string formatted in up to 3 different ways). If the special guid handling is not performed, then the object.Equals method is used.
(Defined by EAPUtil.)
Public Extension MethodToArray
Copy the collection to a string array, possibly empty, but never null.
(Defined by StringUtils.)
Top
See Also