Show / Hide Table of Contents

Class WMAccessManager

Manages access privileges throughout the WM API

Inheritance
object
WMAccessManager
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Quantellia.WMServer.Auth
Assembly: WMServer.dll
Syntax
public static class WMAccessManager

Fields

Deny

Constant indicating a privilige is to be denied.

Declaration
public static string Deny
Field Value
Type Description
string

Grant

Constant indicating a privilige is to be granted.

Declaration
public static string Grant
Field Value
Type Description
string

Methods

IsAllowed(WMPrincipal, string, string)

Test if the requested resource/operation is allowed for the specified user/agent

Declaration
public static Task<bool> IsAllowed(WMPrincipal principal, string resource, string operation)
Parameters
Type Name Description
WMPrincipal principal

Principal identity requesting permission

string resource

Resource to which acceess is being requested.

string operation

Action on the requested resource to which access is being requested.

Returns
Type Description
Task<bool>

true if access is granted. Otherwise, an exception is thrown with a messaged describing the reason that acceess was denied.

In this article
Back to top Copyright © 2025 Quantellia LLC.    Version 2.0.0 Revision 399     Last Updated 1/15/2025    DRAFT DOCUMENTATION. SUBJECT TO CHANGE