NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Interfaces

IIdentity Interface

namespace System.Security.Principal
{
    public interface IIdentity
    {
      // the entity identity
      String Name { get; }
      // the authentication type
      String Type { get; }  
      // is this an authenticated identity
      Bool IsAuthenticated  {get; }   
   }

}

Notes:

IPrincipal Interface

namespace System.Security.Principal
{
    public interface IPrincipal
    {
        // the associated identity object
        IIdentity Identity  { get; }
        // dteremine if the principal represents a given role
        bool      IsInRole  (String Role);

    }
}