Discuss this help topic in SecureBlackbox Forum

TElPGPPublicKey.AddUserAttr

TElPGPPublicKey     See also     


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


Adds one more user attribute related to the key.

Declaration

[C#]
    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)

[Java]
    int 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