Example #1
0
        // Token: 0x060003B6 RID: 950 RVA: 0x00017190 File Offset: 0x00015390
        private void ExecuteGetUserSettingsCommand(IPrincipal callingPrincipal, CallContext callContext)
        {
            IOrganizationScopedIdentity organizationScopedIdentity = callingPrincipal.Identity as IOrganizationScopedIdentity;

            if (organizationScopedIdentity != null)
            {
                this.ExecuteCommandForPartnerUser(organizationScopedIdentity, callContext);
                return;
            }
            WindowsIdentity windowsIdentity = callingPrincipal.Identity as WindowsIdentity;
            ClientSecurityContextIdentity clientSecurityContextIdentity = callingPrincipal.Identity as ClientSecurityContextIdentity;

            if (windowsIdentity != null || clientSecurityContextIdentity != null)
            {
                this.ExecuteCommand(callingPrincipal.Identity, callContext);
                return;
            }
            ExternalIdentity externalIdentity = callingPrincipal.Identity as ExternalIdentity;

            if (externalIdentity != null)
            {
                this.ExecuteCommandForExternalUser(externalIdentity, callContext);
                return;
            }
            callContext.Response.ErrorCode    = ErrorCode.InvalidRequest;
            callContext.Response.ErrorMessage = Strings.InvalidRequest;
        }
Example #2
0
        // Token: 0x060003BA RID: 954 RVA: 0x0001769C File Offset: 0x0001589C
        private void ExecuteCommandForPartnerUser(IOrganizationScopedIdentity callerIdentity, CallContext callContext)
        {
            ExTraceGlobals.FrameworkTracer.TraceDebug <IOrganizationScopedIdentity>((long)this.GetHashCode(), "ExecuteCommandForPartnerUser created for '{0}'.", callerIdentity);
            GetUserSettingsCommandBase getUserSettingsCommandBase = new GetUserSettingsForPartnerUser(callerIdentity, callContext);

            getUserSettingsCommandBase.Execute();
        }
Example #3
0
 // Token: 0x0600035D RID: 861 RVA: 0x0001571D File Offset: 0x0001391D
 internal GetUserSettingsForPartnerUser(IOrganizationScopedIdentity callerIdentity, CallContext callContext) : base(callContext)
 {
     this.partnerUser = callerIdentity;
 }