GetSecurity Method

Summary

Retrieves the security settings for one of the sources.

Syntax
C#
VB
C++
public object GetSecurity( 
   int index 
) 
Public Function GetSecurity( _ 
   ByVal index As Integer _ 
) As Object 
public: 
Object^ GetSecurity(  
   int index 
)  

Parameters

index
0-based index of the source whose security settings should be retrieved. Pass -1 to retrieve the default security settings for the RTSP server.

Return Value

An Object that contains the security settings for the specified source.

Remarks

If not NULL, the object is actually a RTSPSecurity object. Please see RTSPSecurity for more information.

If any security settings are changed on the object, they will be immediately reflected into the existing server. So if the security settings are retrieved for a source folder, add a user and set the object to another source folder using SetSecurity, both the original and new source folder will give access to the new user.

This method can be used to retrieve RTSP Server security settings set using SetSecurity.

Requirements

Target Platforms

Help Version 20.0.2019.11.25
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Multimedia Assembly