C# Класс GSF.Snap.Services.Net.SocketUserPermissions

Permissions associated with an individual user.
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
CanRead bool
CanWrite bool
IsAdmin bool

Открытые методы

Метод Описание
Load ( Stream stream ) : void

Loads the token from a stream

Save ( Stream stream ) : void

Saves the token to a stream

Описание методов

Load() публичный Метод

Loads the token from a stream
public Load ( Stream stream ) : void
stream System.IO.Stream the stream to load from
Результат void

Save() публичный Метод

Saves the token to a stream
public Save ( Stream stream ) : void
stream System.IO.Stream the stream to save to
Результат void

Описание свойств

CanRead публичное свойство

Gets if the user can perform read operations
public bool CanRead
Результат bool

CanWrite публичное свойство

Gets if the user can perform write operations
public bool CanWrite
Результат bool

IsAdmin публичное свойство

Gets if the user can perform admin operations
Admin operations would include Detatching/Deleting/Moving archive file.
public bool IsAdmin
Результат bool