AWS SDK for .NET Documentation
WithPrincipals Method (principals)
AmazonAmazon.Auth.AccessControlPolicyStatementWithPrincipals(array<Principal>[]()[][]) Did this page help you?   Yes   No    Tell us about it...
Sets the principals associated with this policy statement, and returns this updated Statement object. Principals control which AWS accounts are affected by this policy statement.

If you don't want to restrict your policy to specific users, you can use AllUsers to apply the policy to any user trying to access your resource.

Declaration Syntax
C#
[ObsoleteAttribute("The With methods are obsolete and will be removed in version 2 of the AWS SDK for .NET. See http://aws.amazon.com/sdkfornet/#version2 for more information.")]
public Statement WithPrincipals(
	params Principal[] principals
)
Parameters
principals (array<Principal>[]()[][])
The list of principals associated with this policy statement.
Return Value
this instance

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)