GetSecurity Method

Summary
Retrieves the security settings for one of the sources.
Syntax
C#
C++/CLI
public object GetSecurity( 
   int index 
) 
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 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Multimedia Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.