Show / Hide Table of Contents

Interface IServerPermissions

Retreives information about a user's permissions

Namespace: Innovator.Server
Assembly: Innovator.Client.dll
Syntax
public interface IServerPermissions

Properties

| Improve this Doc View Source

IsRootOrAdmin

Gets a value indicating whether this user is the root user or a admin.

Declaration
bool IsRootOrAdmin { get; }
Property Value
Type Description
System.Boolean

true if this user is the root user or a admin; otherwise, false.

Methods

| Improve this Doc View Source

Escalate(String)

Adds the identName identity to the identity list of the current connection

Declaration
IDisposable Escalate(string identName)
Parameters
Type Name Description
System.String identName

Name of the identity to add

Returns
Type Description
System.IDisposable

A System.IDisposable object. Calling System.IDisposable.Dispose() will return the identity list to its original state

| Improve this Doc View Source

Identities()

Gets a list of identities that the current user is in.

Declaration
IEnumerable<string> Identities()
Returns
Type Description
System.Collections.Generic.IEnumerable<System.String>

A list of identities that the current user is in.

| Improve this Doc View Source

Identities(String)

Gets a list of identities that the user userId is in.

Declaration
IEnumerable<string> Identities(string userId)
Parameters
Type Name Description
System.String userId

ID of the user to check

Returns
Type Description
System.Collections.Generic.IEnumerable<System.String>

A list of identities that the user userId is in.

  • Improve this Doc
  • View Source
Back to top Copyright © 2015-2017 Microsoft
Generated by DocFX