Discuss this help topic in SecureBlackbox Forum

TElPGPPublicKey.AddUserAttr

TElPGPPublicKey     See also     


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


Adds one more user attribute related to the key.

Declaration

[C#/Java]
    int AddUserAttr(TElPGPUserAttr User);

[VB.NET]
    Function AddUserAttr(ByVal User As TElPGPUserAttr) As Integer

[Pascal]
    function AddUserAttr(User : TElPGPUserAttr) : integer;

[C++]
    int32_t AddUserAttr(TElPGPUserAttr &User);
    int32_t AddUserAttr(TElPGPUserAttr *User);

[PHP]
    integer AddUserAttr(TElPGPUserAttr $User)

Parameters

  • User - the user to be added.

Return value

    Index of the newly added user.

Description

    Use this method when you want to add new user attribute related to this key. Note, that new instance of the class being added is created, the contents of User parameter are put to this instance and then new instance is added to the list.

See also:     AddUserID     RemoveUserAttr     UserAttrCount     UserAttrs    

Discuss this help topic in SecureBlackbox Forum