Skip to content

Server APIs – Aras.Server.Security

Eric Domke edited this page Apr 6, 2020 · 2 revisions

Aras.Server.Core v12.0.0.17204

Identity Class

Inheritance objectIdentity

public class Identity
{

  // Properties
  public string Id { get; }

  // Methods
  public static Identity GetById(string id);
  public static Identity GetByName(string name);
  public static Identity GetByName(string name, ICachePublicAPI cache);
}

Permissions Class

Inheritance objectPermissions

Attributes Serializable


[Serializable()]
public class Permissions
{

  // Properties
  public string AliasIdentitiesList { get; }
  public static Permissions Current { get; }
  public string IdentitiesList { get; }

  // Methods
  public static string[] GetAncestorIdentityIds(IInnovatorDatabase innovatorDatabase, string[] identityIds);
  public static string[] GetDescendantIdentityIds(IInnovatorDatabase innovatorDatabase, string[] identityIds);
  public static string GetIdentitiesList(IInnovatorDatabase innovatorDatabase, string userId);
  public static bool GrantIdentity(Identity identity);
  public static bool RevokeIdentity(Identity identity);
}
Clone this wiki locally