Class clsPermissoes
Colecção de permissões (perfis de cada utilizador na empresa).
Inheritance
System.Object
clsPermissoes
Implements
System.Collections.IEnumerable
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: AdmEngine100
Assembly: AdmEngine100.dll
Syntax
public class clsPermissoes : IEnumerable
Constructors
clsPermissoes()
Declaration
public clsPermissoes()
Properties
Count
Declaration
public int Count { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Item[Object]
Declaration
public clsPermissao this[object vntIndexKey] { get; }
Parameters
Type | Name | Description |
---|---|---|
System.Object | vntIndexKey |
Property Value
Type | Description |
---|---|
clsPermissao |
Methods
Add(String, String, String, String)
Declaration
public clsPermissao Add(string strEmp, string strGrupo, string strDescGrupo, string strUtil)
Parameters
Type | Name | Description |
---|---|---|
System.String | strEmp | |
System.String | strGrupo | |
System.String | strDescGrupo | |
System.String | strUtil |
Returns
Type | Description |
---|---|
clsPermissao |
Add(String, String, String, String, String)
Adiciona um elemento à coleção
Declaration
public clsPermissao Add(string strEmp, string strDescEmp, string strGrupo, string strDescGrupo, string strUtil)
Parameters
Type | Name | Description |
---|---|---|
System.String | strEmp | Código da empresa |
System.String | strDescEmp | Descrição da empresa |
System.String | strGrupo | Código do grupo |
System.String | strDescGrupo | Descrição do grupo |
System.String | strUtil | Código do utilizador |
Returns
Type | Description |
---|---|
clsPermissao |
Clear()
Declaration
public void Clear()
ExistePermissao(String, String, String)
Declaration
public int ExistePermissao(string strUtil = "", string strPerfil = "", string strEmp = "")
Parameters
Type | Name | Description |
---|---|---|
System.String | strUtil | |
System.String | strPerfil | |
System.String | strEmp |
Returns
Type | Description |
---|---|
System.Int32 |
Finalize()
Declaration
protected void Finalize()
GetEnumerator()
Declaration
public IEnumerator GetEnumerator()
Returns
Type | Description |
---|---|
System.Collections.IEnumerator |
Implements
System.Collections.IEnumerable