Discuss this help topic in SecureBlackbox Forum

TElWebDAVPrincipalBackend.RemovePrincipal

TElWebDAVPrincipalBackend     See also     


Filter: C#  VB.NET  Pascal  C++  PHP  Java  


Removes the specified principal.

Declaration

[C#]
    bool RemovePrincipal(TElWebDAVPrincipal Principal);
    bool RemovePrincipal(string URL);

[VB.NET]
    Function RemovePrincipal(ByVal Principal As TElWebDAVPrincipal) As Boolean
    Function RemovePrincipal(ByVal URL As String) As Boolean

[Pascal]
    function RemovePrincipal(Principal : TElWebDAVPrincipal) : boolean; virtual;
    function RemovePrincipal(const URL : string) : boolean; virtual;

[C++]
    bool RemovePrincipal(SBWebDAVServer_TElWebDAVPrincipal &Principal);
    bool RemovePrincipal(SBWebDAVServer_TElWebDAVPrincipal *Principal);
    bool RemovePrincipal(const std::string &URL);

[PHP]
    bool RemovePrincipal(SBWebDAVServer_TElWebDAVPrincipal $Principal)
    bool RemovePrincipal(string $URL)

[Java]
    boolean removePrincipal(String URL);
    boolean removePrincipal(TElWebDAVPrincipal Principal);

Parameters

  • Principal - the principal to be removed.
  • URL - URL of the principal to be removed.

Return value

    Returns true is the principal was successfully removed, and false otherwise.

Description

    Use this method to tell the component to remove the specified principle from the internal storage of the backend object.

See also:     AddPrincipal    

Discuss this help topic in SecureBlackbox Forum