LEADTOOLS Multimedia (Leadtools.Multimedia assembly)

AddUser Method

Show in webframe



String indicating the user name. Cannot be NULL.
String indicating the password. Can be NULL if no password is desired. In this case, all you must specify to enter is the username.
Adds a user to the list of authorized users maintained by this object.
Syntax
'Declaration
 
Public Function AddUser( _
   ByVal Username As String, _
   ByVal Password As String _
) As Integer
'Usage
 
Dim instance As RTSPSecurity
Dim Username As String
Dim Password As String
Dim value As Integer
 
value = instance.AddUser(Username, Password)
public int AddUser( 
   string Username,
   string Password
)
public:
int AddUser( 
   String^ Username,
   String^ Password
) 

Parameters

Username
String indicating the user name. Cannot be NULL.
Password
String indicating the password. Can be NULL if no password is desired. In this case, all you must specify to enter is the username.

Return Value

The 0-based index of this user in the list of users maintained by this object.
Remarks

Note that all users have the same privileges, so when you add a user to this object you are granting access to this user for the media that will use this object.

Example
For an example, see RTSPSecurity.
Requirements

Target Platforms

See Also

Reference

RTSPSecurity Class
RTSPSecurity Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.

Leadtools.Multimedia requires a Multimedia or Multimedia Suite license and unlock key. For more information, refer to: LEADTOOLS Toolkit Features