SnapStreamingServerUserCanWrite Property
Gets or sets any defined user write access control function.
Namespace: SnapDB.Snap.Services.NetAssembly: SnapDB (in SnapDB.dll) Version: 1.0.102.0 -- Release Build+29075351d0e5aa4dea46a5c520805222f672dc2e
public Func<string, Object, Object, bool>? UserCanWrite { get; set; }
Public Property UserCanWrite As Func(Of String, Object, Object, Boolean)
Get
Set
public:
property Func<String^, Object^, Object^, bool>^ UserCanWrite {
Func<String^, Object^, Object^, bool>^ get ();
void set (Func<String^, Object^, Object^, bool>^ value);
}
function get_UserCanWrite();
function set_UserCanWrite(value);
Property Value
FuncString,
Object,
Object,
Boolean
Function parameters are:
string UserId - The user security ID (SID) of the user attempting to write.
TKey instance - The key of the record being written.
TValue instance - The value of the record being written.
bool - Return true if user is allowed to write; otherwise, false.