PRIMAVERA | Developers

    Show / Hide Table of Contents

    Class AdmBSPerfis

    Serviços de manipulação dos Perfis.

    Inheritance
    System.Object
    AdmBSPerfis
    Implements
    AdmBS100.IAdmBSPerfis
    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: AdmBS100
    Assembly: AdmBS100.dll
    Syntax
    [ComVisible(true)]
    [Guid("28E9CBE2-9A83-412B-8B2D-53E56A4CDE36")]
    [ClassInterface(ClassInterfaceType.None)]
    public class AdmBSPerfis : IAdmBSPerfis

    Methods

    Finalize()

    Declaration
    protected void Finalize()

    InserePermissaoAtributoEmpresa(String, String, String, String, String, String)

    Listas os perfis de um utilizador para uma dada empresa.

    Declaration
    public void InserePermissaoAtributoEmpresa(string strPerfil, string strEmpresa, string strAplicacao, string strEntidade, string strAtributo, string strOperacao = "")
    Parameters
    Type Name Description
    System.String strPerfil

    Nome do Perfil.

    System.String strEmpresa

    Nome da Empresa.

    System.String strAplicacao

    Abreviatura da aplicação.

    System.String strEntidade

    Entidade.

    System.String strAtributo

    Atributo.

    System.String strOperacao

    Operação.

    ListaPerfisUtilizador(String, String)

    Listas os perfis de um utilizador para uma dada empresa.

    Declaration
    public string[] ListaPerfisUtilizador(string strUtilizador, string strEmpresa)
    Parameters
    Type Name Description
    System.String strUtilizador

    Nome do Utilizador.

    System.String strEmpresa

    Nome da empresa.

    Returns
    Type Description
    System.String[]

    PodeExecutarOperacao(String, String, String)

    Indica se um perfil pode executar uma operação de uma dada aplicação.

    Declaration
    public bool PodeExecutarOperacao(string strPerfil, string strApl, string strOperacao)
    Parameters
    Type Name Description
    System.String strPerfil

    Nome do Perfil.

    System.String strApl

    Abreviatura da Aplicação.

    System.String strOperacao

    Operação.

    Returns
    Type Description
    System.Boolean

    Implements

    AdmBS100.IAdmBSPerfis