UserCollection<T> Class
Namespace: Rebex.Net.Servers.Core
Assembly: Rebex.FileServer.dll (version 7.0.9083)
Provides a simple default user database that is used when no custom authentication has been defined.
Syntax
public abstract class UserCollection<T> : ICollection<T>, IEnumerable<T>, IEnumerable where T : ServerUser
Type Parameters
Name | Description |
---|---|
T |
Inherited Members
Properties
Name | Description |
---|---|
Count | Returns the number of users in the collection. |
Item[String] | Gets a ServerUser with the specified userName (or null if not found). |
Methods
Name | Description |
---|---|
Add(T) | Adds a user to the collection. |
Clear() | Removes all users from the collection. |
Contains(T) | Returns a value indicating whether the collection contains a specified user. |
Contains(String) | Returns a value indicating whether the collection contains a user with the specified name. |
GetEnumerator() | Returns an enumerator that iterates through the collection. |
Remove(T) | Removes the specified user from the collection. |
Remove(String) | Removes the user with the specified name from the collection. |
Explicit Interface Implementations
Name | Description |
---|---|
ICollection<T>.CopyTo(T[], Int32) | Copies users to the specified array. |
ICollection<T>.IsReadOnly | Returns a value indicating whether the collection is read-only. |
IEnumerable.GetEnumerator() | Returns an enumerator that iterates through the collection. |