Class FolderUsers
Defines a set of users in the specified folder and (optionally) its sub-folders having requested permission level.
Implements
Inherited Members
Namespace: Nevatech.Vsb.Repository.Alerts
Assembly: Nevatech.Vsb.Repository.dll
Syntax
[DataContract(Namespace = "http://schemas.nevatech.com/sentinet/2011/02")]
public sealed class FolderUsers : IValidator
Constructors
FolderUsers()
Declaration
public FolderUsers()
Properties
ErrorMessage
Gets the message indicating the errors found during validation process.
Declaration
public string ErrorMessage { get; }
Property Value
| Type | Description |
|---|---|
| string |
FolderId
Gets or sets identifier of the top level folder from which users need to be retrieved. If it is set to Null, the root folder is assumed.
Declaration
[DataMember(EmitDefaultValue = false)]
public int? FolderId { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
IncludeSubfolders
Gets or sets flag indicating that users located in the sub-folders of the specified folder should also be retrieved.
Declaration
[DataMember(EmitDefaultValue = false)]
public bool IncludeSubfolders { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
SecurityRoles
Gets collection of identifiers representing security role that users must be members of.
Declaration
[DataMember]
public FolderUsers.SecurityRoleCollection SecurityRoles { get; }
Property Value
| Type | Description |
|---|---|
| FolderUsers.SecurityRoleCollection |
Methods
Validate()
Evaluates the state of the object.
Declaration
public bool Validate()
Returns
| Type | Description |
|---|---|
| bool | True if state is valid; otherwise, false. |