|
I'm trying to create a tool that can generate XSDs for the XAML produced by serializing a type in .NET, but this is not specifically .NET related.
Let's say I have a type. This type has properties and is a collection.
public class MyType : Collection&...
Started by Will on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Name="MyType.Type"> <xs:sequence> <xs:group ref="CollectedTypeGroup" minOccurs="0="MyType.PropertyOne" type="PType1.Type"/> <xs:group ref="CollectedTypeGroup" minOccurs="0" maxOccurs="PType2.Type"/> <xs:group....
|
|
I'm trying to convert a Linq query to SQL. My Linq query looks like this:
from s in Somethings where s.CreatedTime >= new DateTime(2010, 01, 01) where s.CreatedTime < new DateTime(2010, 02, 01) group s by s.Data into grouping select grouping.OrderByDescending...
Started by dmnd on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
This allows you to perform aggregate functions on the group, returning information about the group (min, max, count, etc.), but the individual records in each group....
Using Group By in sql flattens the records in the group.
|
|
I've read about it here but I do not understand.
What is the difference - UseNet group vs Normal group?
Started by eSKay on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at superuser):
They can be accessed.
Usenet groups on the other hand are hosted by a multitude of news servers.
|
Ask your Facebook Friends
|
Given a command in SQL;
SELECT ... FROM ... GROUP BY ...
Can I group by something that isn't in the SELECT line?
Started by nisnis84 on
, 7 posts
by 7 people.
Answer Snippets (Read the full thread at stackoverflow):
Select count(*....
Example:
select count(1) from sales group by salesman_id
What you can't do BY customerId
You can issue an aggregate function on the column that is not there in the groupYes of course e.g.
MM.YYYY')
Yes, you can.
|
|
I've been having some weird group policy issues lately, so I wanted to test on a clean setup and haven't had any luck, so I'm hoping someone else can shed some light. This is on Windows 2003 R2.
I created a test user and added it to a test global group...
Started by Dave on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at serverfault):
THIS CAN BE DANGEROUS.
Especially with the SYSVOL and/or replication with other DCs.
|
|
I have several different processes within a single project that I work on. I am constantly opening and closing tabs(java files) in the code editor for that particular process. Each process almost always uses the same java files.
I was wondering if it ...
Started by northpole on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Select Window > New of Eclipse: You can always ....
You can copy and rename existing perspectives like the Java Multiple Windows: You can open new windows and move them to your second monitor.
Of open and closed views and editors.
|
|
Channel group permission can controll server group too (client 3.0.6) Hello
after 3.0.6 client update one of my users told me that he can add/remove users to the "normal" server group he only needs "channel admin" in any channel
so we did some testing...
Started by Ahmed on
, 13 posts
by 6 people.
Answer Snippets (Read the full thread at teamspeak):
Dude
when Group Member Add Power and Group Member Remove Power set to the default value 50 he can do; i_group_needed_member_remove_power "50" In addition, that channel groups like CA can add/remove this you must....
|
|
According to this site I can simply write
$user = getlogin();
but the group handling functions seem not to be able to accept a username/userid as a parameter. Should I really iterate over all the /etc/group file lines and parse the group names from it...
Started by Zizzencs on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
And $> for the effective uid my ($user, $passwd, $uid, $gid ) = getpwuid $< ; my $group = getgrgid $gid ; printf "user: %s (%d), group: %s (%d)\n", $user, $uid, $group, $gid;
Something simpler like
my $group = getgrgid....
|
|
In linux,
if a user belongs to 2 groups. 1 group gives the user access to a file (say read) the other group doesn't allow them access.
Is there a way to deny access to a file EVEN if a group the user belongs to is giving him read access?
Answer Snippets (Read the full thread at serverfault):
File permissions have only one.
Other to that group / role or the group / role shouldn't have access.
Which means the file can be accessed if the user belongs to that group.
group-id field.
|
|
I need to test linux group permissions on a repository. In one shell, how can I temporarily remove one of my group associations?
e.g.
If my groups are defined as:
% groups foo bar baz
How can I make it so it only returns foo bar without baz ?
Started by Ross Rogers on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at superuser):
Of course if you have root access, you could ... .
Allowing people to escape from a group would then be a security hole.
I think that this is not possible, since files (and POSIX ACLs) can specify subtractive rights for certain groups.
|