UserCollection<T>.Contains Method
Namespace: Rebex.Net.Servers.Core
Assembly: Rebex.FileServer.dll (version 7.0.9448)
Contains(String)
Returns a value indicating whether the collection contains a user with the specified name.
Declaration
public bool Contains(string userName)
Parameters
| Type | Name | Description |
|---|---|---|
| String | userName | User name. |
Returns
| Type | Description |
|---|---|
| Boolean | True if yes. |
Contains(T)
Returns a value indicating whether the collection contains a specified user.
Declaration
public bool Contains(T user)
Parameters
| Type | Name | Description |
|---|---|---|
| T | user | User. |
Returns
| Type | Description |
|---|---|
| Boolean | True if yes. |