Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

UserCollection<T> Class

Namespace: Rebex.Net.Servers.Core
Assembly: Rebex.FileServer.dll (version 7.0.9147)

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
Inheritance
Object
UserCollection<T>
FileServerUserCollection
ServerUserCollection
Implements
ICollection<T>
IEnumerable<T>
IEnumerable
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()

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.

In This Article
  • Properties
  • Methods
  • Explicit Interface Implementations
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies